node-inspect-debugger

Debugs Node.js apps via V8 inspector and Chrome DevTools Protocol.

7|1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/paxlabs-inc/ion-agent --skill node-inspect-debugger-paxlabs-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/paxlabs-inc/ion-agent/tree/main/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/paxlabs-inc/ion-agent --skill node-inspect-debugger-paxlabs-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome-remote-interface.

What problem does it solve?

This skill resolves complex runtime issues in Node.js applications by providing deep visibility into execution state, call stacks, and variable scopes that standard logging cannot capture.

Core Features & Use Cases

  • Interactive Debugging: Use the built-in Node.js inspector to set breakpoints, step through code, and inspect memory in real-time.
  • Programmatic Control: Automate debugging sessions using the Chrome DevTools Protocol (CDP) for non-interactive state collection or performance profiling.
  • Use Case: When a TUI component or background worker behaves unexpectedly, use this skill to pause execution at a specific line, inspect React/Ink state, and evaluate expressions within the current closure.

Quick Start

Use the node-inspect-debugger skill to launch your script with the inspector enabled and attach a terminal debugger to step through the code.

Frequently Asked Questions about node-inspect-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a Node.js application using the Chrome DevTools Protocol?

You can debug a Node.js application using the Chrome DevTools Protocol by programmatically automating debugging sessions for non-interactive state collection and performance profiling. This approach provides deep visibility into execution state, call stacks, and variable scopes.

How do I set breakpoints and inspect variables in a Node.js background worker?

To set breakpoints and inspect variables in a Node.js background worker, use the built-in Node.js inspector to pause execution at a specific line. You can then step through code, inspect memory, and evaluate expressions within the current closure.

Can I automate Node.js debugging sessions for performance profiling without a UI?

Yes, you can automate Node.js debugging sessions for performance profiling without a UI by using the Chrome DevTools Protocol. This allows for programmatic control to collect non-interactive state and evaluate diagnostic tasks.

Does Node.js interactive debugging support heap analysis and call-stack inspection?

Yes, Node.js interactive debugging supports heap analysis and call-stack inspection. By using the V8 inspector, you can inspect memory in real-time and capture deep visibility into execution state that standard logging cannot.

Do I need a specific CDP client library to use the node-inspect-debugger?

Yes, you need the chrome-remote-interface CDP client library to execute programmatic diagnostic tasks. The skill also requires a Node.js runtime environment to facilitate interactive and automated debugging capabilities.