serkan-ozal/browser-devtools-claude · Archived

web-debugging

Debug web applications by inspecting console logs, network requests, JavaScript errors, and using non-blocking tracepoints/logpoints. Use when debugging web pages, inspecting API calls, or tracing code execution.

First seen Mar 26, 2026

Installation

$ npx skills add serkan-ozal/browser-devtools-claude --skill web-debugging

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from serkan-ozal/browser-devtools-claude.

npx skills add serkan-ozal/browser-devtools-claude

Browse all from serkan-ozal/browser-devtools-claude

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 8
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,452 B
  • docs SUMMARY.md 233 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Web Debugging Skill

Debug web applications by inspecting console logs, network requests, JavaScript errors, and using non-blocking tracepoints/logpoints.

When to Use

This skill activates when:

  • User reports a bug or error on a web page
  • User asks to debug JavaScript issues
  • User wants to inspect API calls or network requests
  • User needs to troubleshoot page loading issues
  • User mentions console errors or warnings
  • User wants to trace code execution without pausing

Capabilities

Console Inspection

  • Get all console messages (o11y_get-console-messages)
  • Filter by log level (error, warn, info, debug)
  • Identify JavaScript exceptions and stack traces

Network Analysis

  • Monitor HTTP requests (o11y_get-http-requests)
  • Inspect request/response headers
  • Check response status codes and timing
  • Identify failed or slow requests

JavaScript Debugging

  • Execute diagnostic code in the page: use execute with page.evaluate() (e.g. return await page.evaluate(() => document.querySelectorAll('script').length)).
  • Inspect DOM state and element properties
  • Check localStorage, sessionStorage, cookies
  • Verify JavaScript variables and state

Non-Blocking Debugging (Advanced)

  • Tracepoints (debug_put-tracepoint): Capture call stack and local variables at specific code locations without pausing
  • Logpoints (debug_put-logpoint): Evaluate and log expressions at code locations
  • Exceptionpoints (debug_put-exceptionpoint): Capture snapshots when exceptions occur
  • Watch Expressions (debug_add-watch): Evaluate expressions at every tracepoint hit
  • Get snapshots: debug_get-probe-snapshots (types: tracepoint, logpoint, exceptionpoint; returns tracepointSnapshots, logpointSnapshots, exceptionpointSnapshots)

For Node.js backend debugging, use PLATFORM=node and see the node-debugging skill. Node platform adds debug_get-logs; use execute for batch tool calls (no page on Node).

Error Investigation

  • Use ARIA snapshot for page structure: after navigation, go-to/go-back-or-forward/reload return refs by default; otherwise call a11y_take-aria-snapshot. Then screenshot for visual verification.
  • Annotated screenshot (content_take-screenshot with annotate: true) when you need labeled elements
  • HTML snapshot, check for 404s

Debugging Workflow

  1. Reproduce: Navigate to the problematic page
  2. ARIA snapshot: Get page structure and refs
  3. Capture: Screenshot (annotated if needed for element identification)
  4. Inspect Console: Check for JavaScript errors
  5. Analyze Network: Look for failed requests
  6. Set Probes: Add tracepoints/logpoints if needed for deeper investigation
  7. Investigate: Run diagnostic JavaScript or trigger probes
  8. Collect Snapshots: Get captured debug snapshots
  9. Document: Summarize findings with evidence

Best Practices

  • Always check console for errors first
  • Filter network requests to relevant endpoints
  • Take screenshots before and after actions
  • Use tracepoints for call stack inspection without stopping execution
  • Use logpoints for lightweight logging at specific code points
  • Document reproduction steps clearly