Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
Unbound breaking points with Chrome JS Debugger on VS Code?

I just want to debug simple javascript embedded in an index.html but the debugger on VSCode 1.60.0 don't stop at the breaking points because they are unbound. I tried it with "[Deprecated] Debugger for Chrome" and the already activated "JavaScript Debugger v1.60.1" plugin.

launch.json

"configurations": [
{
     "type": "pwa-chrome",
     "request": "launch",
     "name": "JS Client Debugger",
     "url": "http://localhost:80/test1/index.html",
     "trace": true
}
//OR
{
     "type": "chrome",
     "request": "launch",
     "name": "Launch Chrome against localhost",
     "url": "http://localhost:80/test1/index.html",
     "webRoot": "${workspaceFolder}",
     "breakOnLoad": true,
     "sourceMaps": true,
     "sourceMapPathOverrides": {
     "*": "${webRoot}/*"
}
}
]

index.html

<!doctype html>
<html lang="en-us">
<head>
  <meta charset="utf-8">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Test</title>
</head>
<body>
  <div id="test"></div>
  <script type='text/javascript'>
   ->Breakingpoint  var statusElement = document.getElementById('test');  
  </script>
</body>
</html>

What I'm doing wrong here? Thanks...

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!