2

I followed the VSCode extension development guide to create a new extension project. Starting debugging for the extension gave -
The terminal process "/bin/zsh '-c', 'npm run watch'" terminated with exit code: 1.

Another question seems related, but I do have Inherit Env checked under Terminal>Integrated in settings as mentioned in the answer.
Also I am on mac os.

adzo261
  • 538
  • 3
  • 13

1 Answers1

0

For me, the solution was to add

"watch": {
        "files": "**/*.ts"
    },

in the package.json file, at the same level as "scripts", based on the npm-watch documentation.