Skip to content

"Unbound Breakpoint" when switching to "debug.node.useV3": true + other issues #289

@jasonwilliams

Description

@jasonwilliams

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):

  • in .vscode settings.json add "debug.node.useV3": true
  • Launch the "launch server" debugging session again
  • add a breakpoint in server/index.ts (line 12 const expressApp = express())
    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

  • Windows 10.0.18363 Build 18363
  • VSCode 1.42.0-insider (system setup)
  • Javascript Debugger (Nightly) - 2020.1.43263
  • Node v13.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions