Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

201
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda