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.