What problem does it solve?
This skill resolves complex Python runtime issues by providing a structured approach to interactive debugging, allowing developers to inspect state, trace execution, and resolve bugs in both local and remote environments.
Core Features & Use Cases
- Interactive Debugging: Utilize pdb for local step-through debugging, stack inspection, and variable mutation.
- Remote DAP Debugging: Use debugpy to attach to long-running processes, daemons, or headless services for remote inspection.
- Post-Mortem Analysis: Capture exception states to diagnose crashes in production-like environments.
- Use Case: When a long-running Hermes gateway process encounters an intermittent error, use this skill to attach a debugger to the live process and inspect the internal state without restarting the service.
Quick Start
Use the python-debugpy skill to attach a debugger to the running process with PID 1234 on port 5678.