What problem does it solve? Python bugs involving hidden locals, confusing state mutation, failing tests, subprocesses, or long-running services are hard to diagnose with print statements alone. This Skill guides interactive debugging so you can stop at the exact bad frame and inspect real program state. ## Core Features & Use Cases - Debugger Selection: Chooses the smallest tool for the job, from breakpoint() for local code to python3 -m pdb for no-edit launches and debugpy for remote or already-running processes. - Post-Mortem Inspection: Captures tracebacks with pdb.post_mortem so you can examine state at the moment an unhandled exception occurred. - Remote Attach: Starts debugpy listeners or attaches to a running PID for headless services, containers, and DAP clients. - Use Case: A test fails only inside a subprocess worker. Launch it with python3 -m pdb -c continue to stop at the unhandled exception, inspect locals with p and w, then fix and rerun the normal test gate. ## Quick Start Ask the assistant to debug your failing Python script with pdb, or to attach debugpy to a running process on port 5678 so you can inspect its state.