What problem does it solve? When a Python test fails or a long-running process misbehaves and tracebacks alone don't reveal the cause, this Skill provides structured recipes for interactive debugging: stepping through code, inspecting locals, attaching to running processes, and performing post-mortem analysis. ## Core Features & Use Cases - Local interactive debugging: Use breakpoint() and pdb commands to step through code, inspect locals, and mutate state at runtime. - Pytest debugging: Drop into pdb on test failures with --pdb, handle xdist conflicts, and inspect locals with --showlocals. - Remote and post-mortem debugging: Attach debugpy or remote-pdb to long-running processes, daemons, and subprocesses, or inspect crash frames after exceptions. - Use Case: A pytest test passes alone but fails in the suite. Run it with --pdb -n 0 to trap at the exact failure point, inspect accumulated state, identify the root cause, then clean up breakpoints and re-verify. ## Quick Start Ask the agent to debug a failing Python test by dropping into pdb at the failure point and inspecting the local variables.