python-debugpy

Guide Python debugging with pdb and debugpy for local and remote sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit simplifies the debugging process for Python code by providing a comprehensive guide to using pdb and debugpy, enabling users to identify and fix issues quickly.

Core Features & Use Cases

  • Debugging Python Code: Offers step-by-step instructions for using pdb and debugpy to debug Python code.
  • Post-mortem Analysis: Facilitates post-mortem debugging by allowing inspection of the state of a program at the point of failure.
  • Remote Debugging: Enables debugging of long-running processes that are difficult to restart or interrupt.

Quick Start

Run the python-debugpy skill to start debugging your Python script.

Frequently Asked Questions about python-debugpy

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

FAQPage Schema
How do I debug Python code using pdb?

Debug Python code using pdb by following step-by-step instructions to set breakpoints, inspect variables, and trace execution to identify and fix issues quickly within a CLI or TUI environment.

What is post-mortem debugging in Python?

Post-mortem debugging in Python allows you to inspect the state of a program at the exact point of failure. It facilitates analysis of program crashes by dropping into an interactive debugger after an exception occurs.

How do I set up remote debugging with debugpy for a long-running process?

Remote debugging with debugpy enables you to debug long-running Python processes that are difficult to restart or interrupt. It attaches a debugger to the running process over a network connection.

Do I need prior Python knowledge to use the debugpy guide?

Yes, using the debugpy guide requires knowledge of Python and basic debugging concepts. It is ideal for developers troubleshooting code within a TUI, CLI, or IDE environment.

When should I use debugpy instead of pdb for Python debugging?

Use debugpy for remote debugging of long-running processes or when integrating with an IDE, while pdb is well-suited for local, step-by-step debugging and post-mortem analysis in a CLI or TUI.