We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi i just updated to node v8.0.0 and now im can't start the debugger anymore.
To reproduce just enter the following on your cmd or shell:
node --expose_debug_as=v8debug Program Files\nodejs\node.exe: bad option: --expose_debug_as=v8debug
with v7.10.0 this isn't a problem.
The text was updated successfully, but these errors were encountered:
8.x no longer has the "debugger" (it has been deleted from v8), it has the "inspector", so this functionality is gone as is the CLI to expose it.
Consider using the inspector: https://nodejs.org/api/inspector.html
/cc @ofrobots @eugeneo
Sorry, something went wrong.
You can use this instead.
const vm = require('vm'); const v8debug = vm.runInDebugContext('Debug');
Note that vm.runInDebugContext is going away soon too, and your best bet would be to move the the inspector API as @sam-github mentioned.
vm.runInDebugContext
Thanks a lot.
Got here trying to run debug on node v8 in WebStorm. It worked for me after adding --inspect to node parameters as stated here: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000397470-Debugging-node-version-8-1-2
No branches or pull requests
Hi i just updated to node v8.0.0 and now im can't start the debugger anymore.
To reproduce just enter the following on your cmd or shell:
with v7.10.0 this isn't a problem.
The text was updated successfully, but these errors were encountered: