Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

"Unverified breakpoint" in Visual Studio Code with Chrome Debugger extension

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, and execution does not stop on my breakpoint.

Here is my launch.json file:

{
 linkid=830387
 "version": "0.2.0",
 "configurations": [
 {
 "type": "chrome",
 "request": "launch",
 "name": "Launch Chrome against localhost",
 "url": "http://localhost:4200",
 "sourceMaps": true,
 "webRoot": "${workspaceFolder}"
 }
 ]
}

App Version:

  • Visual Studio Code: 1.25.1
  • Chrome: 67.0.3396.99

Any other suggestions on how I can solve this issue?

Answer*

Draft saved
Draft discarded
Cancel
3
  • It's true for my case as well. I set breakpoints in files called after index.js which is my entry js file and they never get hit. But I set breakpoints at functions in index.js first and it definitely stops there, then I set breakpoints for other files, they stop as well and seems like activated after index.js. Commented Sep 18, 2019 at 18:07
  • as long as you trigger the route that loads the module into the browser with the related breakpoints in vscode it should work Commented Oct 3, 2019 at 11:14
  • In my case your answer and stackoverflow.com/a/74061417/4974674 helped to solve the issue. Commented Feb 12, 2025 at 21:04

lang-js

AltStyle によって変換されたページ (->オリジナル) /