VS Code: “Breakpoint ignored because generated code not found” error

前端 未结 18 2637
无人共我
无人共我 2020-12-13 08:07

I have looked everywhere and I still have issue debugging TypeScript inside VS Code. I have read this thread but still I am not able to hit my breakpoints placed inside a Ty

18条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 08:43

    I came across this question while looking for a solution to a similar problem that I was having. Despite being different from OP's problem, it might help others.

    Context: I was following the Visual Studio Code HelloWorld example and found myself unable to stop on break points.

    I solved my problem by changing .vscode/launch.json so that "sourceMaps": true attribute under the Launch configuration was set (it starts default on false).

提交回复
热议问题