NodeJS run configuration
suggest changeTo start Node with the inspector, run the process with --inspect. The default port is 9229; set another with --inspect=9229. Use --inspect-brk when the process should pause until a debugger attaches. The older --debug flag was removed.
When the process starts you should see a message like:
Debugger listening on ws://127.0.0.1:9229/...
That means the inspector is ready. Attach from your IDE, or open chrome://inspect in a Chromium browser.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents