Is there a option in VSCode when debugging like the 'Just my Code' option in Visual Studio?
I want to step through my own code, not all the internal node code like next_tick.js
I've tried adding
"skipFiles": [
"node_modules/**/*.js"
]
to the debug configuration, but that's not working.
The answer can be found at the Visual Studio Code site: https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_skipping-uninteresting-code-node-chrome
In short, you forgot to add ${workspaceFolder}:
However, as Mark noted, there is a magic string to cover all internal node modules and then the solution is:
added in the .vscode/launch.json file.