Open sfertman opened 3 years ago
Option 2 above looks like something doable: Node 6:
Usage: node [options] [ -e script | script.js ] [arguments]
node debug script.js [arguments]
Node 8:
Usage: node [options] [ -e script | script.js | - ] [arguments]
node inspect script.js [arguments]
Node 10:
Usage: node [options] [ -e script | script.js | - ] [arguments]
node inspect script.js [arguments]
Node 12:
Usage: node [options] [ script.js ] [arguments]
node inspect [options] [ script.js | host:port ] [arguments]
Node 14:
Usage: node [options] [ script.js ] [arguments]
node inspect [options] [ script.js | host:port ] [arguments]
To see the NODE_OPTIONS env that VScode starts debugger with, use "console": "integratedTerminal"
option
You never know how external services may use node executable.This is actually a problem if I'm using VSCode to debug a node application. This one is a little bit more tricky to figure out.