-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
"ReferenceError: v8debug is not defined" when doing remote debug #7102
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
Comments
Hard to say what your program is doing exactly but it probably expects that I see no indication that this is a node.js core issue so I'll close the bug report but feel free to ask more questions. |
I am getting the same exception too. I am using WebStorm and debugging it through it's debugger. This was working fine until pretty much today. I've reinstalled v6.2.0, exception still exists. I then installed v6.1.0, then exception is gone, works fine. Then reinstalled v6.2.0 and the exception came back. I assume this is a bug within the package my HTH @gerrytan are you using the latest WebStorm by any chance? |
It's possible #6599 has something to do with it. v8debug was used internally until v6.2.0. It sounds like WebStorm might be depending on it being there? |
@bnoordhuis by the looks of it you are right. I am getting the exception in WebStorm debugger console but not in terminal. Will raise it with them, thanks! For those who are interested: here's the bug filed already at WebStorm, fix is coming with the |
bnoordhuis is right, just add |
Hello. Thanks Philippe |
Run->Edit configuration->Create a node configuration. One of the options you can supply is the one described above. |
Done. Thanks |
thanks guys! |
This stopped it from giving the ReferenceError, but including |
I am using angular-cli (ng serve) which does not expose node (runs it internally) any ideas on how to add that flag? |
Got following stack trace when debugging remotely. Not sure what functionality breaks, so far I'm able to debug normally.
What does it mean / how to get rid of it?
Command used to run node:
$ /usr/local/bin/node --debug-brk=56203 app.js
The text was updated successfully, but these errors were encountered: