python-debugpy

Debug Python applications locally, remotely, and post-mortem with pdb and debugpy.

5|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill python-debugpy-lengoctuong2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/lengoctuong2005/Branding-Focused-Skills/tree/main/antigravity/skills/hermes-collection/software-development/python-debugpy
Command: npx skills add https://github.com/lengoctuong2005/Branding-Focused-Skills --skill python-debugpy-lengoctuong2005

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the debugging process for Python code, allowing users to quickly identify and fix issues within their codebase.

Core Features & Use Cases

  • Local and Remote Debugging: Supports both local and remote debugging scenarios, making it versatile for different environments.
  • Post-Mortem Analysis: Enables post-mortem debugging of exceptions that have already occurred.
  • Integration with Test Frameworks: Seamlessly integrates with testing frameworks like pytest for easier debugging during test runs.

Quick Start

Use the python-debugpy skill to debug your Python script 'script.py' at the line where an error occurred.

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 after an exception has already occurred?

Post-mortem debugging allows you to inspect an exception that has already occurred in your Python code. This capability utilizes pdb and debugpy to analyze the program's state at the exact line where the error happened.

Can I use debugpy for remote debugging of Python applications?

Yes, debugpy supports remote debugging for Python applications. You must have the debugpy library installed in your environment to establish a connection and inspect the code running on a separate machine.

How do I integrate pdb debugging with pytest test runs?

You can integrate debugging with pytest to inspect failing tests. This feature allows you to drop into a debugging session during test execution to examine variables and trace the root cause of test failures.

What is the best way to debug Python code locally versus remotely?

Local debugging runs directly on your machine while remote debugging connects to an external process. This Skill supports both scenarios, allowing you to troubleshoot Python applications across different environments using pdb and debugpy.

Do I need the debugpy library installed to debug Python scripts?

You need the debugpy library installed for remote debugging scenarios. Local and post-mortem debugging utilize pdb, which is built into Python, but remote connections require the debugpy dependency.

Why use post-mortem debugging instead of standard breakpoints in Python?

Post-mortem debugging is used when an exception has already crashed your Python program. It lets you examine the exact state at the moment of failure, whereas standard breakpoints require pausing execution before the error occurs.