-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
debug doesn't work on node v6 #6029
Comments
@weinand mentioned that we have not yet tested node v6 and that he is planning to take a look once he is back from vacation. I think Andre is back from vacation this week so forwarding to him. |
the same issue with NodeJS v6.1.0 and VSCode 1.1.0 |
@Mirodil are you debugging node v6 with VS Code 1.1 in 'attach' mode? If yes, please launch node with |
yes, it works with |
@Mirodil thanks for trying. Here is the explanation: VS Code injects code into node.js to work around slowness issues with large data structures. For reasons we do not yet understand this injected code fixes the issue in node v6 that requesting the call stack results in an "Internal error: illegal access" error. We hope that the node v6 issue will be eventually fixed. |
thank you, I got it |
Node-inspector has the same issue: node-inspector/node-inspector#864 Since code injection fixes the issue for the I've verified that debugging node v6 works in VS Code 1.1 if node has been started with |
+1 |
I found a way to inject code into a node.js started with |
It is possible there is still an issue when a 'proxied' accessor method is used ? Normal running of the code with attached debugger works fine. |
@matthiasg yes, proxies are a problem with the old node debugger of VS Code. Please try the new node debugger by using the debug type "node2" in your launch config. |
Steps to Reproduce:
node --debug bin\www
users.js:line:6
it works with node v5.10
The text was updated successfully, but these errors were encountered: