What problem does it solve?
This Skill helps you inspect and fix Python bugs when print statements are not enough, especially for failing tests, confusing state changes, long-running services, and crashes that need post-mortem analysis.
Core Features & Use Cases
- Local breakpoints with pdb: Pause execution with breakpoint() or python -m pdb and inspect variables, the call stack, and control flow interactively.
- Test debugging: Drop into pdb for failing pytest cases, trace execution from test start, and diagnose local state in a controlled way.
- Remote and headless debugging: Use debugpy or remote-pdb to attach to running processes, daemon-like services, gateways, and subprocesses without restarting everything.
- Use Case: A Hermes gateway or TUI worker misbehaves in production-like conditions, so you attach remotely, set breakpoints, and inspect the exact frame where the bug occurs.
Quick Start
Tell me to debug the Python issue by choosing the right mode, adding a breakpoint or remote attach point, and guiding me through pdb or debugpy based on whether the process is local, a test, or already running.