What problem does it solve?
This skill eliminates the frustration of debugging Python code when standard tracebacks don't reveal root causes, covering local scripts, failing tests, long-running processes, and post-crash inspection scenarios.
Core Features & Use Cases
- Local Interactive Debugging: Use built-in pdb via breakpoint() or python -m pdb for quick, no-setup debugging of local scripts and failing tests.
- Remote Process Debugging: Attach debugpy to long-running processes like Hermes gateways or daemons to debug issues without restarting them.
- Post-Mortem Debugging: Inspect local variables and call stacks immediately after unhandled exceptions in production-like code.
Use case: If a Hermes gateway subprocess is misbehaving, use this skill to attach a debugger to the running process without disrupting its operation.
Quick Start
Use the python-debugpy skill to debug the failing Python test by launching it under pdb to inspect variable states and call stacks at the point of failure.