python-debugpy

Debug Python applications via pdb and debugpy DAP integration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires debugpy, remote-pdb.

What problem does it solve?

This skill resolves complex software bugs by providing a structured approach to interactive debugging, remote process inspection, and post-mortem analysis in Python environments.

Core Features & Use Cases

  • Interactive Debugging: Utilize pdb for local step-through execution and variable inspection.
  • Remote/Headless Debugging: Attach to long-running processes or remote services using the debugpy DAP protocol.
  • Post-Mortem Analysis: Inspect the state of an application at the exact moment of a crash or exception.

Quick Start

Use the python-debugpy skill to attach a remote debugger to the running hermes gateway process on port 5678.

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 Python application using pdb and debugpy?

Python debugging with pdb and debugpy provides interactive step-through execution, variable inspection, and remote process attachment. It supports local interactive stepping via pdb and remote debugging using the debugpy DAP protocol for complex services.

Can I attach a debugger to a running remote Python process?

Yes, you can attach a debugger to running remote Python processes by utilizing the debugpy DAP protocol. This enables remote headless debugging to inspect long-running services by connecting to a specified network port.

How do I perform post-mortem analysis on a crashed Python application?

Post-mortem analysis inspects the exact application state at the moment of a crash or exception. This approach allows you to evaluate variable states and the call stack after an unhandled exception terminates your Python process.

What is the difference between using pdb and debugpy for Python debugging?

Pdb provides local interactive step-through execution and variable inspection directly in the terminal. Debugpy implements the DAP protocol, enabling remote process attachment and headless debugging for long-lived services over a network connection.

Do I need specific Python libraries to set up remote debugging?

Yes, setting up remote debugging requires standard Python debugging libraries such as debugpy and remote-pdb. You also need environment access to manage breakpoints and process signals within the target application.