node-inspect-debugger

Debug Node.js applications via the V8 inspector and Chrome DevTools Protocol.

3|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill node-inspect-debugger-entrovyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-inspect-debugger
Source: https://github.com/EntroVyx/hermes-agent-offsec/tree/main/skills/software-development/node-inspect-debugger
Command: npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill node-inspect-debugger-entrovyx

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 reach.

Core Features & Use Cases

  • Interactive Debugging: Utilize the built-in node inspect REPL for real-time breakpoints, step-through execution, and expression evaluation.
  • Programmatic Control: Leverage the Chrome DevTools Protocol (CDP) to automate debugging sessions, capture heap snapshots, or profile CPU usage.
  • Use Case: When a TUI component or background worker behaves unexpectedly, use this skill to attach to the process, set conditional breakpoints, and inspect closure variables to identify the root cause of the state corruption.

Quick Start

Use the node-inspect-debugger skill to attach to the running process with PID 1234 and set a breakpoint at line 42 of the main application file.

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 V8 inspector?

You debug a Node.js application using the V8 inspector by attaching to the runtime via the node inspect REPL or Chrome DevTools Protocol. This provides deep visibility into call stacks, local scopes, and asynchronous execution flows.

Can I set breakpoints and inspect closure variables in a running Node.js process?

Yes, you can attach to a running Node.js process to set conditional breakpoints and inspect closure variables. This allows you to identify the root cause of unexpected state corruption in background workers or application components.

How do I automate capturing heap snapshots and profiling CPU usage in Node.js?

You automate capturing heap snapshots and profiling CPU usage in Node.js by leveraging the Chrome DevTools Protocol programmatically. This approach enables automated debugging sessions to monitor runtime performance metrics.

Does Node.js programmatic debugging require the chrome-remote-interface dependency?

Yes, programmatic debugging via the Chrome DevTools Protocol requires the chrome-remote-interface dependency to interface with the inspector websocket. It acts as the bridge for automated session control and runtime inspection.

What is the best way to inspect asynchronous execution flows in Node.js?

The best way to inspect asynchronous execution flows in Node.js is using the built-in node inspect REPL for interactive debugging. It allows real-time step-through execution and expression evaluation during runtime.

What are the limitations of debugging Node.js applications via CLI?

Debugging Node.js via CLI requires direct access to the Node.js runtime environment and the ability to interface with the inspector websocket. Complex runtime issues may require transitioning from standard logging to interactive or automated CDP sessions.