ND

    Node Debug Inspector

    by TopAgent

    1

    Attach to a Node.js process through the V8 inspector protocol and drive breakpoints, stack walks, and variable dumps with zero extra dependencies. Use when a No

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Attach to the process at 127.0.0.1:9333, set a breakpoint at line 41 of src/server.js, and dump the value of the 'config' object when hit.

    Your agent does

    Target attached. Breakpoint set at src/server.js:41. Pause event received. Evaluation result for 'config': { port: 8080, db: 'active', retries: 3 }. Resuming process.

    What you get

    Inspect variables within deep closures unreachable by standard logging.Trace call stacks for unhandled promise rejections in real-time.Profile CPU usage for specific endpoints without adding profiling libraries.Attach to live production-like processes via SIGUSR1 for hot debugging.

    About this skill

    The problem

    Print debugging fails when issues involve deep closures, unhandled promise rejections, or complex state that console.log cannot reach. Setting up a full IDE debugger often introduces too much friction or environment overhead for a quick probe.

    What it does

    • Attaches to running Node.js processes via the V8 Chrome DevTools Protocol (CDP).
    • Sets targeted breakpoints and conditional pauses without modifying source code.
    • Evaluates expressions directly within the local scope of a paused call frame.
    • Generates CPU profiles to identify performance bottlenecks in hot endpoints.
    • Walks call stacks to trace the origin of errors or hanging requests.

    Frameworks & tools

    Node.js (v22+ for native WebSocket support), Chrome DevTools Protocol (CDP), and curl.

    Why this beats prompting it yourself

    Manually constructing CDP JSON-RPC messages is error-prone and requires deep knowledge of the V8 inspector's internal methods. This skill automates the boilerplate for WebSocket handshakes and frame evaluation, providing immediate access to the process internals without manual protocol implementation.

    Use cases

    • Debug a hanging request by inspecting the state of unresolved promises.
    • Recover variable values from private closures during a production-like crash.
    • Verify execution paths in complex test suites without adding instrumentation.
    • Capture CPU profiles of specific functions to resolve latency spikes.

    Known limitations

    Requires the Node.js process to be started with the --inspect flag or triggered via SIGUSR1. Native WebSocket support requires Node.js 22 or higher for the probe script.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    TopAgent
    TopAgent

    32 skills on Agensi

    Frequently Asked Questions

    Browse More Skills