Debug a web page with browser developer tools

8 steps · about 4 h 10 min · Beginner

  1. 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.

  2. Inspect live DOM state (guide, Chrome for Developers, 30 min)

    Compare the rendered document with the source and test small structural changes safely.

  3. Trace computed styles (guide, Chrome for Developers, 30 min)

    Find which declaration wins and why a layout or visual rule is not taking effect.

  4. 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.

  5. 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.

  6. Trace a failing request (guide, Chrome for Developers, 35 min)

    Inspect timing, status, headers and response data across the browser's network boundary.

  7. Record a slow interaction (guide, Chrome for Developers, 40 min)

    Separate scripting, rendering and painting costs with a repeatable performance trace.

  8. 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.