“Unverified breakpoint” in Visual Studio Code with Chrome Debugger extension

后端 未结 25 2030
太阳男子
太阳男子 2020-12-13 01:51

I am trying to debug my Typescript code in Visual Studio Code, using the Chrome Debugger extension, but I am getting the \"Unverified breakpoint\" message on my breakpoint,

25条回答
  •  孤城傲影
    2020-12-13 02:04

    I have a folder structure as shown below and I have opened the zero project on VS Code.

    zero/

    Then launch.json

      "configurations": [
            {
                "type": "chrome",
                "request": "launch",
                "name": "Launch Chrome against localhost",
                "url": "http://localhost:4200",
                "webRoot": "${workspaceFolder}/angular"
            }
        ]
    

提交回复
热议问题