Debug a web page with browser developer tools
8 steps · about 4 h 10 min · Beginner
- Orient yourself in developer tools (guide, Chrome for Developers, 25 min)
Map each panel to the kind of evidence it reveals before diagnosing a defect.
- Inspect live DOM state (guide, Chrome for Developers, 30 min)
Compare the rendered document with the source and test small structural changes safely.
- Trace computed styles (guide, Chrome for Developers, 30 min)
Find which declaration wins and why a layout or visual rule is not taking effect.
- Pause JavaScript at the failure (guide, Chrome for Developers, 35 min)
Use breakpoints and scope inspection to follow incorrect values instead of adding scattered logging.
- Test a narrow hypothesis in the console (guide, Chrome for Developers, 25 min)
Query page state and run small expressions without changing the application permanently.
- Trace a failing request (guide, Chrome for Developers, 35 min)
Inspect timing, status, headers and response data across the browser's network boundary.
- Record a slow interaction (guide, Chrome for Developers, 40 min)
Separate scripting, rendering and painting costs with a repeatable performance trace.
- Reproduce against a local server (guide, Chrome for Developers, 30 min)
Serve the same files over HTTP and capture steps and evidence that another developer can repeat.