VS Code Unverified Breakpoints

后端 未结 6 708
温柔的废话
温柔的废话 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:39

    For future readers: I ran into this issue because I had ran a prod build of my app before trying to debug. The prod build removes the sourcemaps that VS Code needs to debug successfully, so I ran a dev build of my app and then debug, and everything worked as expected.

提交回复
热议问题