What problem does it solve?
This skill addresses the difficulty of diagnosing complex bugs in Python applications, ranging from simple script errors to remote, long-running processes that are otherwise difficult to inspect.
Core Features & Use Cases
- Interactive Debugging: Provides a comprehensive suite of pdb commands for stepping through code, inspecting variables, and evaluating expressions in real-time.
- Remote & Process Debugging: Enables attachment to headless, long-lived, or subprocess-based applications using debugpy or remote-pdb for production-like environment troubleshooting.
- Use Case: When a background service or a specific subprocess in the Hermes agent fails, you can use this skill to attach a debugger to the running process and inspect the call stack and local state without needing to restart the entire system.
Quick Start
Use the python-debugpy skill to set a remote breakpoint in your target script by importing remote_pdb and calling set_trace at the desired line.