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

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

    This config in launch.json worked:

    { "type": "node", "request": "launch", "name": "Launch Program - app", "program": "${workspaceRoot}/src/server.ts", "cwd": "${workspaceFolder}", "outFiles": ["${workspaceRoot}/release/**"], "sourceMaps": true }

提交回复
热议问题