-
Notifications
You must be signed in to change notification settings - Fork 316
"Unbound Breakpoint" when switching to "debug.node.useV3": true + other issues #289
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
Thanks for the issue and thorough information! First/Second IssueThe existing (not-V3) debugger doesn't support ts-node. The tricky thing there is that that files get rewritten in-memory, and the debugger doesn't realize that the script we just loaded purportedly at "$folder/server/index.ts" isn't the same index.ts that's on disk. The new debugger fixes this 🙂 Third IssueThis is related to #214 (comment). We added logic in the extension's configuration resolution step that strips these out, but the |
I've just tested this by removing the Edit: Does this need insiders to work? |
You shouldn't need Insiders to work provided js-debug-nightly is installed. I'm actually having some trouble reproducing the exiting issue, either on the old or the new debugger, on my windows machine. Is there any environment setup you have that might make your version behave differently than mine? |
@connor4312 my bad, i had the server already running, the error was that there's already a server running on that port and i didn't see the error because it closed so quickly! |
Its working as expected now thank you |
…nd causes issues) - See microsoft/vscode-js-debug#289
no worries, glad you got it working! Let us know if you run into any more problems. |
Uh oh!
There was an error while loading. Please reload this page.
I've had a debugging session with
"debug.node.useV3": true
both set to on and off, each gives me issues. I've found a couple of bugs, thought it was worth sharing them here.Desc
When switching to "debug.node.useV3": true the server side debugging no longer works.
Steps to reproduce.
First issue:
For some reason this breakpoint triggers instantly, even though the server doesn't seem to have restarted. (this could also be a bug)
Second issue:
Now clicking continue seems to kill the debugger. This isn't expected, as the server itself is still running.
Third issue (main issue):
"debug.node.useV3": true
Now you will find that the breakpoints don't work, "Unbound Breakpoint"
Logs
https://gist.github.com/jasonwilliams/3ad5f388e8b81bc0ecb3bf65e40bb6b9 (before nightly debugger was turned on)
https://gist.github.com/jasonwilliams/4a1686af9626d279658cfbcf86455d68 (attempting to set breakpoints with nightly debugger on)
https://gist.github.com/jasonwilliams/0897396a203a53cf5e487564681d1fbe (attempting to set breakpoints with nightly debugger off)
Versions
The text was updated successfully, but these errors were encountered: