python-debugpy

Debug Python applications with pdb, debugpy, and remote-pdb.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/zeronx798/demo-hermes-agent --skill python-debugpy-zeronx798
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/zeronx798/demo-hermes-agent/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/zeronx798/demo-hermes-agent --skill python-debugpy-zeronx798

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires debugpy, remote-pdb.

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.

Frequently Asked Questions about python-debugpy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a long-running Python process without restarting it?

Python remote debugging allows you to attach debugpy to a running process, inspecting the call stack and local state of headless or long-lived applications without restarting the system.

What is the best way to inspect a failing subprocess in Python?

The best way to inspect a failing subprocess is by using remote-pdb to set a breakpoint. You import remote_pdb, call set_trace at the target line, and inspect the execution state of that specific subprocess.

How does debugpy integrate with IDEs for Python debugging?

Debugpy integrates with IDEs through the Debug Adapter Protocol (DAP). This DAP-compliant integration allows compatible development environments to step through code, inspect variables, and evaluate expressions interactively.

Can I use pdb for post-mortem analysis of Python crashes?

Yes, you can use pdb for post-mortem analysis of Python crashes. This skill provides comprehensive debugging capabilities that facilitate inspecting the program state immediately after an unhandled exception occurs.

Does this Python debugging approach support multithreaded code?

Yes, this Python debugging approach supports multithreaded code. It provides comprehensive debugging capabilities using debugpy and pdb to inspect complex scenarios including multithreaded applications.