debugger-python
Debugger (Python)
Why: Runtime bugs -- silent failures, wrong variable values, incorrect data flow through complex logic -- cannot always be diagnosed from code alone. This skill gives you a real debugger (breakpoints, variable inspection, expression evaluation) instead of scattering print() calls and guessing. You use the Debug Adapter Protocol (DAP) via debugpy to pause execution and inspect actual state.
Hard constraints: Requires the top-coder-ai-skills-debugger Python package. debugpy is pulled in by it. 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