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

前端 未结 18 2659
无人共我
无人共我 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:47

    yes! in my case changing this in launch.json file solve the problem:

      "sourceMapPathOverrides": {
        "webpack:///./~/*": "${webRoot}/node_modules/*",
        "webpack:///./*":   "${webRoot}/*",
        "webpack:///*":     "*",
        "webpack:///src/*": "${webRoot}/*",
      }
    

提交回复
热议问题