serkan-ozal/browser-devtools-cursor/web-debugging

Claude Code and agent skill by serkan-ozal/browser-devtools-cursor

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install serkan-ozal/browser-devtools-cursor/web-debugging

SKILL.md

The same SKILL.md was published earlier as serkan-ozal/browser-devtools-cursor/web-debugging.

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

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/serkan-ozal/browser-devtools-cursor/web-debugging/badge)](https://verified-skill.com/skills/serkan-ozal/browser-devtools-cursor/web-debugging)

Something wrong with this skill or its page? Tell us.