node-inspect-debugger
Skill by NousResearch
Debugs Node.js programs with the built-in V8 inspector and Chrome DevTools Protocol. Sets breakpoints, steps through code, and reads variables from the terminal. Aimed at developers who need more than console.log.
Install node-inspect-debugger
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NousResearch/hermes-agent /tmp/hermes-agent && mkdir -p ~/.claude/skills && cp -r /tmp/hermes-agent/optional-skills/software-development/node-inspect-debugger ~/.claude/skills/node-inspect-debuggerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NousResearch/hermes-agent /tmp/hermes-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hermes-agent/optional-skills/software-development/node-inspect-debugger ~/.gemini/antigravity-cli/skills/node-inspect-debuggerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install node-inspect-debugger in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Node Inspect Debugger is a skill for AI assistants that teaches them to debug Node.js programs through Node's built-in --inspect flag and the Chrome DevTools Protocol. It covers breakpoints, stepping in, over and out, call stack walking, scope dumps and expression evaluation in a paused frame. The skill describes two routes: the node inspect command line REPL for quick checks, and scripted CDP using the chrome-remote-interface package to automate many breakpoints.
The skill also covers attaching to a running process with SIGUSR1, debugging Vitest tests and Hermes ui-tui components, and capturing CPU profiles and heap snapshots. It is written for developers and agents working on Node.js code, including the Hermes TUI. Python processes are directed to a separate python-debugpy skill.
Written from the project's SKILL.md and checked against it.
What it can do
- node inspect REPLSets breakpoints, steps through code and walks the call stack with node inspect.
- Attach to running processEnables the inspector on a live Node process with SIGUSR1 and attaches a debugger.
- Scripted CDP driverRuns a chrome-remote-interface script that sets breakpoints and dumps scope variables.
- Expression evaluationEvaluates expressions in a paused frame to read locals and closure values.
- Vitest debuggingRuns a single Vitest test file paused on entry for step debugging.
- Heap and CPU profilesCaptures a CPU profile or heap snapshot through the CDP Profiler and HeapProfiler domains.
- Hermes ui-tui debuggingCovers debugging the Ink-based ui-tui and a running hermes --tui session.
What you need
- Node.js
- chrome-remote-interface npm package (for scripted CDP only)
- tsx (for TypeScript targets)
- Linux, macOS or Windows
Try asking
- Debug why this variable is undefined at line 42 of script.js
- Attach the Node inspector to my running dev server and show the call stack
- Capture a CPU profile of my Node process for five seconds
Good to know
- Breakpoints in TypeScript hit emitted JavaScript; node inspect does not follow sourcemaps.
- --inspect does not pause, so attaching late can miss the first breakpoint.
- --inspect on a parent process does not inspect its child processes.
- Python processes are not covered; use the python-debugpy skill instead.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: optional-skills/software-development/node-inspect-debugger/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to node-inspect-debugger
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
node-inspect-debugger: common questions
When should I use node inspect instead of the CDP script?
Use node inspect first for quick, interactive checks. Use the CDP script when you want to automate many breakpoints or collect state across runs.
Is it safe to bind the inspector to all interfaces?
The source says --inspect=0.0.0.0 exposes arbitrary code execution, so the default 127.0.0.1 binding should be kept unless the network is isolated.
Does this skill debug Python code?
No. The source says Python processes such as _SlashWorker should use the python-debugpy skill instead.
How do I install node-inspect-debugger?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is node-inspect-debugger free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is node-inspect-debugger safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to node-inspect-debugger?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
