python-debugpy

Debug Python applications via pdb and remote debugpy attachment.

3|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill python-debugpy-entrovyx
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/EntroVyx/hermes-agent-offsec/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/EntroVyx/hermes-agent-offsec --skill python-debugpy-entrovyx

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 subprocesses using debugpy and DAP-compliant clients.
  • Post-Mortem Analysis: Inspect the state of an application at the exact moment an exception occurs to identify root causes.

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 attach a remote debugger to a running Python process?▼

You can attach a remote debugger to a running Python process by using debugpy to listen on a designated port and connecting a DAP-compliant client to inspect the live application state.

What is post-mortem analysis in Python debugging?▼

Post-mortem analysis in Python debugging allows you to inspect the exact application state at the moment an exception occurs, helping you identify the root cause of the crash interactively.

Can I use pdb for local interactive stepping in Python?▼

Yes, you can use pdb for local interactive stepping to execute code line by line and inspect variables directly within your terminal for straightforward Python debugging sessions.

Do I need debugpy and remote-pdb installed to debug headless applications?▼

Yes, you need the debugpy and remote-pdb packages installed to facilitate DAP-compliant debugging and terminal-based session control for inspecting long-running or headless Python processes.

Does this debugging approach work with subprocesses and long-running Python scripts?▼

Yes, this approach supports attaching debugpy to long-running processes and subprocesses, allowing you to inspect complex software systems remotely without interrupting execution.

Why use debugpy instead of standard pdb for complex software bugs?▼

You use debugpy instead of standard pdb when you need DAP-compliant remote attachment for long-running processes, whereas pdb is limited to local terminal-based interactive stepping.