debugger-nodejs
Debugger (Node.js)
Why: Runtime bugs -- silent failures, wrong variable values, race conditions -- cannot always be diagnosed from code alone. This skill gives you a real debugger (breakpoints, variable inspection, expression evaluation) instead of scattering console.log and guessing. You use the Debug Adapter Protocol (DAP) via vscode-node-debug2 to pause execution and inspect actual state.
Hard constraints: Requires the top-coder-ai-skills-debugger Python package. All commands go through scripts/debug.py. Never leave a debug session running after you are done -- always call stop.
Setup (before first use)
Install the package in the environment used to run the script (globally or in the project):
-
Global (recommended for skills):
pip install top-coder-ai-skills-debugger
or for the current user only:pip install --user top-coder-ai-skills-debugger -
Project (if using uv):
uv add top-coder-ai-skills-debugger