VS Code Unverified Breakpoints

后端 未结 6 624
温柔的废话
温柔的废话 2021-02-12 18:05

I\'m trying to debug a Node/Express TypeScript app in VS Code (v. 1.24.0) and all my breakpoints are greyed out during debugging.

The error is \"Unverified Breakpoint, B

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-12 18:37

    I encountered this problem using vscode 1.25

    Looks like it's triggered when a breakpoint-containing source (.ts) is changed while Debug session is running. The breakpoints could be re-enabled by re-saving the source, or by re-togglig the breakpoint.

    However if the source was changed, then debugging has to be restarted to be in-sync with the source.

    This issue seems to spill into the Edit mode too, the breakpoints would remain "Unverified" even after leaving the Debug mode. Again, re-saving the source appears to re-enable the breakpoints in this case.

提交回复
热议问题