Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

256
Vistas
Can not get VS Code to output console.log to chrome or any browser

I have perused Stack Overflow and other sites but cannot seem to find my specific problem I have all levels checked off- verbose, info, warnings, errors

There is nothing in the filter section yet I still cannot get any output from console.log. It was working fine until yesterday I must have done something I'm new I don't know what the hell I'm doing I suppose but I'm frustrated I've been two days trying to figure out what this is.

I've included a screenshot, if that helps: console.log problem

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It is not a VSCode problem. You are opening the script1.js file directly from the browser.

Make an HTML file in the same directory as your script1.js file

Put the following code:

  <!DOCTYPE html>
  <html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
  </head>
  <body>
  </body>
  <script src="script1.js"></script>
  </html>

Then execute the HTML file in the browser, then the JS code will execute.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda