python-debugpy

Debug Python apps with pdb locally and debugpy for remote sessions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables Python debugging with pdb for local REPL debugging and debugpy for remote debugging and attachable sessions.

Core Features & Use Cases

Useful for debugging long-running daemons, test failures, post-mortem analysis, and any scenario requiring interactive inspection in Python apps.

Quick Start

Insert a breakpoint() in your code and run the program, then attach your IDE to the process to begin interactive debugging.

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 daemon that is already deployed?

You can debug a long-running Python daemon by inserting debugpy hooks and using the wait-for-client command to attach a compatible IDE to the process for interactive inspection. This enables remote debugging without restarting the application.

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

Python debugging with pdb provides local REPL debugging directly in the terminal, whereas debugpy supports remote debugging and attachable sessions through the DAP protocol, allowing you to connect a compatible IDE to observe locals and set breakpoints.

How do I set up remote debugging to inspect variables in a Python application?

To set up remote debugging, insert debugpy hooks in your Python code, launch the application, and connect a compatible IDE to the process. This allows you to observe locals, set breakpoints, and continue execution interactively.

Can I perform post-mortem analysis on test failures using Python breakpoints?

Yes, you can perform post-mortem analysis on test failures by inserting a breakpoint in your code or launching with python -m pdb. This drops into an interactive session to inspect the application state exactly where the failure occurred.

Does Python debugging with debugpy require a specific IDE to attach to the process?

Python debugging with debugpy requires connecting a compatible IDE that supports the Debug Adapter Protocol (DAP) to the process. Once attached, you can observe locals, set breakpoints, and continue execution.

What is the best way to start interactive inspection in a Python app?

The best way to start interactive inspection in a Python app is to insert a breakpoint in your code and run the program, then attach your IDE to the process to observe locals and continue execution.