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

233
Views
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 answers
Answer question

0

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

about 4 years ago · Juan Pablo Isaza Report

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 Report
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!