python-debugpy

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

1|Updated May 19, 2026
One-click install
npx skills add https://github.com/justinsensei/apollo-backup --skill python-debugpy-justinsensei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/justinsensei/apollo-backup/tree/main/skills/.archive/python-debugpy
Command: npx skills add https://github.com/justinsensei/apollo-backup --skill python-debugpy-justinsensei

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit provides a comprehensive guide to debugging Python code using pdb and debugpy, addressing the challenges of identifying and resolving issues in Python applications.

Core Features & Use Cases

  • Python Debugging: Offers detailed instructions for using pdb and debugpy for debugging Python code.
  • Interactive Debugging: Provides interactive debugging sessions for local and remote debugging scenarios.
  • Post-Mortem Analysis: Guides users on how to perform post-mortem analysis on exceptions in production code.
  • Use Case: Ideal for developers who need to debug complex Python applications, especially those involving long-running processes or subprocesses.

Quick Start

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

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 Python script using pdb and debugpy?

To debug a Python script using pdb and debugpy, you can run the skill to start an interactive debugging session. It provides detailed instructions for setting breakpoints and inspecting your code execution locally or remotely.

Can I attach a debugger to a long-running Python process?

Yes, you can attach a debugger to a long-running Python process. The skill provides remote debugging capabilities using debugpy, allowing you to connect to and inspect subprocesses or active applications.

What is post-mortem analysis in Python and how do I use it?

Post-mortem analysis in Python allows you to inspect the state of a program right after an exception occurs. This skill guides you through using pdb to perform post-mortem analysis on exceptions in production code.

Do I need to install the debugpy library to use this debugging guide?

Yes, you need the debugpy library installed in your Python environment to use this guide. The skill requires Python and the debugpy dependency to enable its interactive and remote debugging features.

Does remote Python debugging work with subprocesses?

Yes, remote Python debugging works with subprocesses. The skill offers specific instructions for handling complex Python applications, including scenarios involving long-running processes and subprocess debugging.