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

No stopping on breakpoints in the desktop web extension host #128637

Closed
aeschli opened this issue Jul 14, 2021 · 3 comments
Closed

No stopping on breakpoints in the desktop web extension host #128637

aeschli opened this issue Jul 14, 2021 · 3 comments
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders

Comments

@aeschli
Copy link
Contributor

aeschli commented Jul 14, 2021

  • create a web extension with yo code --insiders -t=web
  • open in VS Code,
  • set breakpoint in extension.ts
  • run the 'Run Web Extension in VS Code' launch configuration
  • In the Extension Development Host window, run the hello world command

-> break point is not reached

@peter-dolkens
Copy link

Our team had a similar sounding issue this week, and eventually found this workaround:

The built in Node Debug extension ms-vscode.node-debug2 is default using a new version of the js debugging extension as of a new update. Even rolling back vscode seems to use the new Node Debug extension. For whatever reason, that's broken the breakpoints in my services. The solution was to revert to the old behaviour by adding this to my vscode/settings.json
"debug.javascript.usePreview": false

@connor4312
Copy link
Member

@peter-dolkens you are not hitting the same issue since the old debugger does not debug web extensions, and bear in mind that the usePreview option will go away in the next release. Please file an issue: https://github.com/microsoft/vscode-js-debug/issues

@peter-dolkens
Copy link

Thanks @connor4312 - was trying to reduce duplicates, but I'll file a new ticket for you as it's a new issue.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders
Projects
None yet
Development

No branches or pull requests

4 participants
@peter-dolkens @connor4312 @aeschli and others