python-debugpy

Attach debugpy to remote Python processes via the DAP protocol.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires debugpy, remote-pdb.

What problem does it solve?

This skill resolves complex software bugs by providing a comprehensive toolkit for 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 to identify root causes.

Quick Start

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

Frequently Asked Questions about python-debugpy

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

FAQPage Schema
How do I attach a Python debugger to a running remote process?▼

To attach a Python debugger to a running remote process, you can use the debugpy DAP protocol to connect to the service over a network port like 5678 for remote inspection. This allows you to monitor headless servers and long-running applications.

What is post-mortem analysis in Python and when do I need it?▼

Post-mortem analysis in Python is the process of inspecting the application state at the exact moment of a crash. You need it to identify the root cause of unhandled exceptions by examining the program's stack and variables after the failure.

How do I set breakpoints and inspect variables locally using pdb?▼

You can set breakpoints and inspect variables locally using pdb for interactive step-through execution. This integration allows you to pause your Python application at specific lines to evaluate variable values and control flow directly.

Does debugpy work with headless server monitoring?▼

Yes, debugpy works with headless server monitoring by attaching to long-running processes using the remote DAP protocol. This requires network access to establish a connection between the debugger and the remote Python service.

What's the best way to debug complex Python application crashes?▼

The best way to debug complex Python application crashes is through post-mortem analysis and interactive debugging. Utilizing pdb for local inspection and debugpy for remote attachment allows you to inspect the exact crash state and identify root causes effectively.