Skip to content
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

Test Node v6 debugging support #6659

Closed
3 tasks done
weinand opened this issue May 23, 2016 · 0 comments
Closed
3 tasks done

Test Node v6 debugging support #6659

weinand opened this issue May 23, 2016 · 0 comments

Comments

@weinand
Copy link
Contributor

weinand commented May 23, 2016

Test for #6029:

In node v6 the stack trace request fails for callbacks which results in an empty call stack view in the VS Code debugger. Oddly enough VS Code's code injection fixes the failing stacktrace request for yet unknown reasons.

Until VS Code 1.1.1 code injection was only working for a debug session of type 'launch'. As a consequence node v6 debugging would fail in debug sessions of type 'attach'. In the May milestone we've fixed code injection for 'attach' mode which makes node v6 debugging work in VS Code 1.2 in 'attach' mode.

Verify that you can attach to and debug an express application:

  • install node v6
  • from command line
    • run npm install -g express-generator
    • generate express application with express myExpressApp
    • run cd myExpressApp
    • run npm install
    • run node --debug bin\www
  • open myExpressApp with VS Code and attach to the node process
  • set break point to index.js:line:6
  • and navigate in a web browser to 'http://localhost:3000/'

Verify that the call stack view shows the stack trace correctly.

@weinand weinand added this to the May 2016 milestone May 23, 2016
@weinand weinand self-assigned this May 23, 2016
@egamma egamma mentioned this issue May 23, 2016
87 tasks
@weinand weinand removed their assignment May 23, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants