Debug & Run Angular2 Typescript with Visual Studio Code?

后端 未结 10 1135
情歌与酒
情歌与酒 2020-11-27 10:08

Debug & Run Angular2 Typescript with Visual Studio Code?

I am trying to debug Angular2 typescript application with VS code https://angular.io/gu

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-27 10:59

    I had issues with this and while @Sankets answer helped it was this issue that solved it for me https://github.com/angular/angular-cli/issues/2453.

    Specifically adding the below to launch.json

    "sourceMapPathOverrides": {
        "webpack:///c:/foo/bar/angular-project/*": "${workspaceRoot}/*"
    }
    

提交回复
热议问题