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

200
Views
how to navigate to the source file when debugging js in google chrome

I am using the google chrome to debugging the javascript source file, now I could debbugging the output js file, but the output js file is not human friendly readable. It looks like this:

enter image description here

from the google chrome console, I can see the call stack, and the google chrome tips shows that the source map are avaliable. But how to navigate the the js source file with current debugging line? I already type command + P in macOS but just shows the source files, I did not know which line should to navigate. the call stack only show the output js file line number.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Next to the "Page" tab (you can make the side bar bigger or click on those two arrows, there you will find the "Filesystem tab". If you add the corresponding folder to the workspace you will be able to edit and save those files.

Here's an article that explains it in details using a python server.

tabs menu

(note that you can use any local server you'd like)

filesystem menu

(note that it won't work with local files url like file:///)

about 4 years ago · Juan Pablo Isaza Report

0

If you are trying to debug your current JS file at line 23487, steps would be to-

  1. Load URL.
  2. Open chrome debugger tools.
  3. Put debug point on desired line.
  4. Reload the URL, the debugger will pause at debug point.

You can watch below video for this, specifically @10:40 timestamp.

https://www.youtube.com/watch?v=WmVEddplwbo

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!