python-debugpy

Debug Python applications with pdb and remote debugpy sessions.

150|25|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill python-debugpy-devsoul2026
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/Devsoul2026/Hermes-One-Click/tree/main/hermes-agent/skills/software-development/python-debugpy
Command: npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill python-debugpy-devsoul2026

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debugging Python applications can be time-consuming without integrated guidance; this Skill consolidates pdb-based local debugging and remote debugging via debugpy to streamline diagnosis and fixes.

Core Features & Use Cases

  • Local debugging with pdb interactive REPL and automated breakpoint exploration.
  • Remote debugging with debugpy to attach to running Python processes and inspect state from an IDE.
  • Post-mortem debugging and multi-process scenarios to isolate issues in long-running services.

Quick Start

Run your Python script and attach a debugger using pdb for local debugging or attach a debugpy session for remote 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 running Python process remotely?▼

Remote Python debugging uses debugpy to attach a client to an active process, inspect its state, and execute commands from an IDE. You attach to the running application and wait for the client to establish the session.

What is post-mortem debugging in Python?▼

Post-mortem debugging analyzes an application's state after a crash by invoking pdb at the point of failure. It isolates issues in long-running services by allowing interactive inspection of the error context.

Can I insert breakpoints into Python code for local debugging?▼

Yes, local Python debugging supports inline breakpoint insertion combined with the pdb interactive REPL. Running your script with pdb allows automated breakpoint exploration to diagnose application behavior.

Do I need debugpy installed for local Python debugging?▼

No, local Python debugging only requires an environment with pdb available. Installing debugpy is optional and strictly necessary for enabling remote debugging sessions to attach to running processes.

What is the best way to debug multi-process Python applications?▼

Debugging multi-process Python applications combines post-mortem analysis and remote attachment via debugpy. This approach isolates issues across long-running services by attaching a debugger to inspect each process state.

Why use debugpy instead of pdb for Python debugging?▼

Use debugpy for remote debugging to inspect running processes from an IDE, whereas pdb facilitates local interactive REPL sessions. The choice depends on whether you are diagnosing locally or attaching to long-running services.