node-inspect-debugger
Originally fromnousresearch/hermes-agent
Installation
SKILL.md
Node Inspect Debugger
Use for Node.js debugging that needs inspector access: hidden locals, async hangs, flaky tests, child processes, startup races, memory growth, or CPU hot paths.
Default to node inspect first. Use Chrome DevTools Protocol only when you need scripted breakpoints, automated state capture, heap snapshots, or CPU profiles.
Quick start
- Pause on entry:
node inspect path/to/script.js - TypeScript:
node --inspect-brk --import tsx path/to/script.ts - Existing PID:
kill -SIGUSR1 <pid>thennode inspect -p <pid> - Inspect target list:
curl -s http://127.0.0.1:9229/json/list | jq - OpenClaw CLI path:
node --inspect-brk openclaw.mjs ... - OpenClaw test path:
OPENCLAW_VITEST_MAX_WORKERS=1 node --inspect-brk scripts/run-vitest.mjs <file>
Debugger REPL