serkan-ozal/browser-devtools-cursor/node-debugging
Claude Code and agent skill by serkan-ozal/browser-devtools-cursor
- community
Checking that the SKILL.md file is still in the repository.
Debug Node.js backend processes using non-blocking tracepoints, logpoints, exceptionpoints, and JavaScript execution. Use when debugging API servers, workers, or backend scripts.
Install
npx vskill@latest install serkan-ozal/browser-devtools-cursor/node-debuggingSKILL.md
The same SKILL.md was published earlier as serkan-ozal/browser-devtools-claude/node-debugging.
Node.js Backend Debugging Skill
Debug Node.js backend processes using non-blocking tracepoints, logpoints, exceptionpoints, and JavaScript execution. Use when the user needs to debug API servers, workers, or backend scripts.
When to Use
This skill activates when:
- User asks to debug Node.js backend or API
- User wants to trace function calls in a running server
- User needs to inspect variables or state in a Node process
- User mentions backend errors, API bugs, or server-side issues
- User wants to run JavaScript in a connected Node process
Prerequisites
- Use MCP with
PLATFORM=nodeor runnode-devtools-mcpseparately - Connect to the target process before other debug commands (
debug_connect)
Capabilities
Connection
- Connect by PID (
debug_connectwithpid) - Connect by process name (
debug_connectwithprocessName) - Connect by Docker container (
debug_connectwithcontainerNameorcontainerId) - Connect by inspector port or WebSocket URL
For Docker: use host.docker.internal or container name when MCP runs in a container. Mount /var/run/docker.sock in the MCP container.
Non-Blocking Debugging
- Tracepoints (
debug_put-tracepoint): Capture call stack and local variables at code locations - Logpoints (
debug_put-logpoint): Evaluate and log expressions - Exceptionpoints (
debug_put-exceptionpoint): Capture on uncaught or all exceptions - Watch expressions (
debug_add-watch): Evaluate at every tracepoint hit
Snapshot Retrieval
debug_get-probe-snapshots(types: tracepoint, logpoint, exceptionpoint; returns tracepointSnapshots, logpointSnapshots, exceptionpointSnapshots)debug_clear-probe-snapshots— clear when done to free memory
Console & Source Maps
- Console logs (
debug_get-logs): Captures console.log, error, warn from the Node process - Source maps (
debug_resolve-source-location): Resolve bundled code to original source
JavaScript Execution
- Use execute on the Node platform for batch tool calls (callTool only; no
page). See commands/node/execute.md.
Debugging Workflow
- Connect:
debug_connectwith pid, processName, or containerName - Set probes: Tracepoints on route handlers, exceptionpoints for errors
- Trigger: Make API requests or trigger the code path
- Collect:
debug_get-probe-snapshots(types: tracepoint, exceptionpoint) - Investigate: Use execute on Node platform for dynamic inspection (callTool; no
pagebinding) - Cleanup:
debug_clear-probes,debug_disconnect
Best Practices
- Use
urlPatternmatching script paths (e.g.routes/api.ts,server.js) - Start with exceptionpoints to catch errors first
- Use logpoints for lightweight monitoring
- Poll snapshots with
fromSequencefor incremental retrieval - Clear probes when done to avoid overhead
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/node-debugging/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/serkan-ozal/browser-devtools-cursor/node-debugging)