python-debugpy

Debug Python applications locally and remotely using pdb and debugpy.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/blueskies1818/hermesALIone --skill python-debugpy-blueskies1818
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/blueskies1818/hermesALIone/tree/main/Agent/skills/software-development/python-debugpy
Command: npx skills add https://github.com/blueskies1818/hermesALIone --skill python-debugpy-blueskies1818

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdb, debugpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the debugging needs of Python developers, offering a suite of tools to debug Python applications efficiently, whether they are running locally or remotely.

Core Features & Use Cases

  • Local Debugging: Offers interactive debugging with breakpoint() and pdb, perfect for local development and quick inspections.
  • Remote Debugging: Supports debugging long-running processes with debugpy and DAP, suitable for production environments and headless setups.
  • Post-Mortem Analysis: Enables post-mortem debugging to inspect code state and variables when an exception occurs.

Quick Start

Run your script with hermes and use the python-debugpy skill to start a local debugging session with breakpoint() at a critical 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 Python application running on a remote server?

Remote Python debugging uses debugpy with the Debug Adapter Protocol (DAP) to attach to long-running processes. This allows you to inspect variables and step through code in production or headless environments without local access.

Can I use pdb for interactive debugging of local Python scripts?

Yes, pdb enables interactive local Python debugging. You can insert the breakpoint() function directly into your script to pause execution and inspect application state for quick local development.

What is post-mortem debugging and when do I need it for Python?

Post-mortem debugging analyzes application state immediately after an exception occurs. It drops you into the Python environment at the exact failure point to inspect variables and trace the root cause of the error.

Do I need to install the debugpy package separately for remote debugging?

Yes, remote debugging requires installing the debugpy package separately. Python's built-in pdb handles local interactive debugging, but debugpy is necessary for DAP-based remote sessions and attaching to long-running processes.

pdb vs debugpy: which should I choose for Python debugging?

Choose pdb for quick local interactive debugging and script inspection. Choose debugpy for remote debugging, long-running production processes, and DAP integration where you need to attach external clients to a live application.