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

后端 未结 25 2023
太阳男子
太阳男子 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:08

    The above answer is probably going to solve a lot of problems but it didn't solve mine. Mine was a much simpler and more annoying problem...

    The configuration settings in the launch.json file are case sensitive.

    My "webRoot" entry was correctly spelled but I had a capital B in one of the words instead of a lower case b.

    For example:

    "webRoot": "${workspaceFolder}/My.Folder"

    will not match a folder in your workspace with the name:

    My.folder

    I hope this helps someone out there.

提交回复
热议问题