-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use '--inspect-brk' instead of '--debug-brk' when connecting to node v8 #27731
Comments
#27597 for now. This combination of args is the only way to enter debug mode across all node versions. At some point I'll switch to inspect-brk if we don't want to support node 6.x anymore, or will do version detection for it and do something for runtimeExecutable scenarios. |
All I have to do is copy the version detection code from node-debug, and use the old flags when There are now far more people using node2 with node 8 than node 6, this needs to be fixed... |
The latest node-debug extension (available in the frozen Insiders) passes the version string (e.g. "v7.9.0") as a property |
Thanks! However I realized that I still need to test even when node-debug doesn't do version detection, like when |
Still having the warning as of Node 8.7.0 and VS Code 1.17.1:
|
works for me with latest node and latest visual studio, running debug mode via npm. I use nodemon to track file changes. In package.json:
I run debug script via terminal, always running in background and restarting automatically on file changes. Make sure you use --inspect-brk. Then default debug launch configuration for node from latest VS Code:
|
The text was updated successfully, but these errors were encountered: