Agent skill · Code Review & Quality

node-inspect-debugger

Debug Node.js via --inspect + Chrome DevTools Protocol.

HezaoHezaogithub.com/HezaoHezaoGitHub ↗
claude-codecan modify filesMIT
Install
npx skills add HezaoHezao/poirot --skill node-inspect-debugger --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Declared author: Adapted from hermes-agent (Nous Research, MIT)
Allowed tools: -bash-read_file
Path: poirot/backend/agents/skill/builtin_skills/software-development/node-inspect-debugger/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 139
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Node.js Inspect Debugger ## Overview When `console.log` isn't enough, drive Node's built-in V8 inspector programmatically from the terminal. Real breakpoints, step in/over/out, call-stack walking, scope dumps, and arbitrary expression evaluation. **Prefer `node inspect` first.** It's always available and the REPL is fast. ## When to Use - A Node test fails and you need to see intermediate state - A Node process crashes or behaves wrong and you want to inspect state - You need to inspect a value in a closure that `console.log` can't reach - Perf: attach to a running process to capture a CPU profile or heap snapshot **Don't use for:** things `console.log` solves in under a minute. ## Quick Reference: `node inspect` REPL Launch paused on first line: ```bash node inspect path/to/script.js # or with tsx node --inspect-brk $(which tsx) path/to/script.ts ``` The `debug>` prompt accepts: | Command | Action | |---------|--------| | `c` | continue | | `n` | next line (step over) | | `s` | step into | | `o` | step out | | `sb('file.js', line)` | set breakpoint | | `cb('file.js', line)` | clear breakpoint | | `watch('expr')` | watch expression | | `exec('expr')` | evaluate in paused frame |

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Quick Reference: node inspect REPL
  4. Scriptable CDP via chrome-remote-interface
  5. Attaching to a Running Process
  6. CPU Profile
  7. Pitfalls
Commands it runs
node inspect path/to/script.js
or with tsx
node --inspect-brk $(which tsx) path/to/script.ts
Install
npm install chrome-remote-interface
Launch node with inspect
node --inspect-brk=9229 path/to/script.js &
Attach via script
node -e "
const CDP = require('chrome-remote-interface');
More from poirot
All skills →
About this skill
What does the node-inspect-debugger skill do?

Debug Node.js via --inspect + Chrome DevTools Protocol.

How do I install it?

Run `npx skills add HezaoHezao/poirot --skill node-inspect-debugger --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From HezaoHezao/poirot, a repository with 139 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going