python-debugpy

Debug Python code locally or remotely using pdb and debugpy.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/shuff57/agent-evo --skill python-debugpy-shuff57
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/shuff57/agent-evo/tree/main/skills/.archive/topics-2026-05-10/software-development/python-debugpy
Command: npx skills add https://github.com/shuff57/agent-evo --skill python-debugpy-shuff57

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users debug their Python code quickly and effectively, leveraging the power of pdb and debugpy, which offers both local and remote debugging capabilities.

Core Features & Use Cases

  • Local Interactive Debugging: Step through your code using breakpoint() and interact with variables on-the-fly.
  • Remote Debugging: Attach to long-running processes like Hermes gateway without restarting.
  • Post-mortem Analysis: Analyze exceptions and errors that occurred in production code.
  • Use Case: If a long-running process fails, you can use this Skill to attach a debugger to the process and investigate the root cause.

Quick Start

Start debugging the Python process with the ID '1234'.

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?

Remote debugging allows you to attach to running Python processes and inspect variables without restarting. You can attach a debugger to a specific process using its ID and investigate the root cause of failures on the fly.

Can I analyze a Python exception after my program has crashed?

Post-mortem analysis allows you to inspect exceptions and errors that occurred in your production code. By using debugpy, you can examine the program state and variables at the exact moment the unhandled exception was triggered.

How do I step through Python code and inspect variables locally?

Local interactive debugging lets you step through Python code execution using breakpoint() and interact with variables on-the-fly. It requires Python, pdb, and debugpy to be installed in your environment.

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

Pdb provides local interactive step-by-step execution and breakpoint management in Python. Debugpy extends this by adding remote debugging capabilities, allowing you to attach to long-running processes like a Hermes gateway.

Do I need debugpy installed to perform post-mortem analysis on Python code?

Yes, this Skill requires Python, pdb, and debugpy to be installed to support post-mortem analysis. These dependencies provide the environment needed to inspect exceptions and step through code execution.