How to prevent to step into node_modules/*.js files when debugging the typescript project files in vs code editor. When I start a debug process with a berakpoint on my types
Add the following to your launch.json...
"skipFiles": [
"${workspaceRoot}/node_modules/**/*.js"
]
From the sound of your question, you may also want to exclude the following...
"skipFiles": [
"${workspaceRoot}/node_modules/**/*.js",
"<node_internals>/**/*.js"
]
Which then also excludes node internal files (net.js, events.js, etc) if you wish.
Via documentation here