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

235
Vistas
Find out which console.log() prints the log

I am working on a big project with lots of co-workers and while debugging sometimes finding the code that prints terminal logs gets difficult.

So i am looking for a way (or an extension) to find source of the logs from the terminal.

For example i want to right click on the line of the log from the terminal and click 'go to source' and it will bring the file and focus on the line where that log is printed. (I am using VSCode)

Any one have any tricks for this situation?

Thanks.

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

0

I think u can use console.trace() which provides a stack trace.

about 4 years ago · Juan Pablo Isaza Denunciar

0

When you are debugging the project (not just running it in the terminal), you get exactly what you described, in the "Debug Output" tab:

screenshot

See this docs page about how to get node.js debugging with VSCode set up.

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