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

Debuger has broken #607

Closed
Naresh-varma opened this issue Jul 14, 2020 · 6 comments
Closed

Debuger has broken #607

Naresh-varma opened this issue Jul 14, 2020 · 6 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@Naresh-varma
Copy link

Describe the bug
After the latest update when I start my application in debug mode I don't see any call stack and no breakpoint is working.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '1.47.1' version
  2. Start any application in debug mode
  3. See error

Log File

VS Code Version: 1.47.1

Additional context
Add any other context about the problem here.

@Naresh-varma Naresh-varma added the bug Issue identified by VS Code Team member as probable bug label Jul 14, 2020
@Naresh-varma
Copy link
Author

Naresh-varma commented Jul 14, 2020

I have enabled auto-update, So it got updated to 1.47.1 and the problem has begun, earlier it was working fine.

@connor4312
Copy link
Member

If you're using Node 8, you might be hitting microsoft/vscode#102166. Otherwise please collect a trace log using the instructions in the issue template.

@connor4312 connor4312 added the info-needed Issue requires more information from poster label Jul 14, 2020
@XyFreak
Copy link

XyFreak commented Jul 15, 2020

This appears to be an issue when using a system installation of NodeJS 10 in combination with VS Code 1.47 (.0 or .1) (I'm running a system-install of VS Code - not sure if that matters). I've run into this issue today as well attempting to launch Electron using the MS template:

C:\Users\xxx xxx\Documents\xxxxxxxxxxx/node_modules/.bin/electron.cmd --remote-debugging-port=9223 .
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '"c:/Program'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at Module._preloadModules (internal/modules/cjs/loader.js:901:12)
    at preloadModules (internal/bootstrap/node.js:601:7)
    at startup (internal/bootstrap/node.js:273:9)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
Process exited with code 1

The NodeJS version used here was v10.16.2.

After updating to the latest stable NodeJS version (v12.18.2) the issue is gone. A collegue reported that he does not have any issues using NodeJS version v12.13.1.
This propably means that for NodeJS debugging in VS Code 1.47 NodeJS 12 is required now.

A heads-up in the changelogs would've been nice ;)

@Naresh-varma
Copy link
Author

Naresh-varma commented Jul 15, 2020 via email

@connor4312
Copy link
Member

@Naresh-varma thanks for the confirmation -- see the issue I linked

@XyFreak see here microsoft/vscode#102035 (comment)

@connor4312 connor4312 added *duplicate Issue identified as a duplicate of another issue(s) and removed bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster labels Jul 15, 2020
@connor4312
Copy link
Member

A fix for this issue has now been released in VS Code 1.47.2. If you previously had to opt-out of the new debugger, you should be safe to turn it back on. Thanks again for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants