python-debugpy

Automate Python debugging with breakpoints, post-mortem analysis, and remote debugpy sessions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mrmtsuruya/hermes-backup --skill python-debugpy-mrmtsuruya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/mrmtsuruya/hermes-backup/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/mrmtsuruya/hermes-backup --skill python-debugpy-mrmtsuruya

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Debugging Python code can be complex and time-consuming. This skill streamlines the process, allowing you to quickly identify and fix issues.

Core Features & Use Cases

  • Integrated Tools: Provides three debugging tools - breakpoint() + pdb, python -m pdb, and debugpy.
  • Use Cases: Ideal for interactive debugging, testing, and post-mortem analysis. Handles both local and remote debugging scenarios, including long-running processes and subprocesses.
  • Features: Conditional breakpoints, post-mortem analysis, remote debugging with debugpy, and more.

Quick Start

Use the debugpy command with the script's entry point and specified arguments to attach a debugger to a running Python process.

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

You can debug a long-running Python process by using debugpy to attach an interactive debugging session to it, supporting remote debugging and subprocess management.

What is the best way to set conditional breakpoints in Python?▼

The best way to set conditional breakpoints in Python is by using an interactive debugging interface that supports breakpoint management, allowing you to pause execution only when specific conditions are met.

How do I perform post-mortem analysis on a Python script crash?▼

You can perform post-mortem analysis on a Python script crash by using interactive debugging tools like `python -m pdb` to inspect the program state and trace the exact failure point after an exception occurs.

Does debugpy work with subprocesses and long-running Python applications?▼

Yes, debugpy works with long-running Python applications and handles subprocesses, allowing you to attach a debugger to existing processes and manage interactive debugging sessions in complex scenarios.

Do I need any dependencies to use remote debugging with Python?▼

Yes, you need the `debugpy` dependency installed to enable remote debugging support and attach an interactive debugging interface to your running Python processes.