Debug & Run Angular2 Typescript with Visual Studio Code?

后端 未结 10 1109
情歌与酒
情歌与酒 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:39

    For angular-seed:

    {
      "version": "0.2.0",
      "configurations": [
        {
          "name": "Debug with chrome",
          "type": "chrome",
          "request": "launch",
          "url": "http://localhost:5555",
          "sourceMaps": true,
          "webRoot": "${workspaceRoot}/src/client",
          "userDataDir": "${workspaceRoot}/out/chrome",
          "sourceMapPathOverrides": {
            "app/*": "${webRoot}/app/*"
          }
        }
      ]
    }
    

提交回复
热议问题