python-debugpy

Debug Python applications with local pdb sessions and remote debugpy attachments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides robust debugging for Python code using local pdb and remote debugpy sessions, enabling interactive inspection and remote attachment.

Core Features & Use Cases

  • Local debugging with pdb REPL for quick introspection.
  • Remote debugging with debugpy DAP for attaching IDEs or editors.
  • Post-mortem debugging and debugging long-running processes like gateways or workers.

Quick Start

Attach a remote debugger using debugpy or start a pdb session to begin debugging your Python code.

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 remotely?

Debug long-running Python processes by configuring debugpy to listen for an incoming DAP connection, then attach your IDE to the running application for interactive inspection.

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

pdb provides a local REPL for quick introspection and breakpoints, whereas debugpy implements the Debug Adapter Protocol to allow remote IDE attachment and wait-for-client patterns for remote sessions.

Can I do post-mortem debugging on a Python application after a crash?

Yes, post-mortem debugging is supported. You can launch a local pdb session after a failure to inspect the application state and analyze the exact variables active at the time of the crash.

Do I need a specific IDE to attach a remote debugger to Python code?

No specific IDE is strictly required. debugpy uses the Debug Adapter Protocol, allowing you to attach any compatible IDE or editor to the Python runtime for remote debugging sessions.

How do I set up a local pdb session for quick Python debugging?

Start a local pdb session by inserting breakpoints into your Python code and running the application with a Python runtime, which drops you into an interactive REPL for immediate variable introspection.