python-debugpy

Debug Python scripts locally with pdb and remotely with debugpy.

1|Updated Jun 23, 2026
One-click install
npx skills add https://github.com/whichguy/hermes-skills-marketplace --skill python-debugpy-whichguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/whichguy/hermes-skills-marketplace/tree/main/skills/python-debugpy
Command: npx skills add https://github.com/whichguy/hermes-skills-marketplace --skill python-debugpy-whichguy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

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

Core Features & Use Cases

  • Local and Remote Debugging: Offers local debugging with pdb and remote debugging with debugpy, catering to various debugging scenarios.
  • Breakpoints and Step-by-Step Execution: Enables setting breakpoints and stepping through code to inspect variables and understand execution flow.
  • Post-Mortem Analysis: Facilitates post-mortem debugging to analyze exceptions and errors after a crash.
  • Use Case: When a Python application crashes and you need to understand the state of the program at the time of the crash, this Skill can help you analyze the stack trace and inspect variables.

Quick Start

Use the python-debugpy skill to debug a Python script by setting a breakpoint at the desired line and running the script.

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 that crashes and inspect the state of variables?

Debug a crashed Python script by using post-mortem debugging to analyze the stack trace and inspect variables. This Skill enables developers to understand the program state at the time of the crash and quickly identify issues.

Can I set breakpoints and step through Python code to understand execution flow?

Set breakpoints and step through Python code to understand execution flow using pdb and debugpy. This functionality allows developers to pause execution at desired lines and inspect variables during local debugging sessions.

Does Python remote debugging with debugpy work for analyzing remote exceptions?

Python remote debugging with debugpy supports analyzing exceptions in remote environments. It enables developers to connect to remote processes, set breakpoints, and inspect variables to troubleshoot issues across different scenarios.

What is the best way to perform post-mortem analysis on a Python application after a failure?

Perform post-mortem analysis on a Python application by utilizing pdb and debugpy to analyze exceptions after a crash. This approach allows developers to examine the stack trace and inspect the exact variables that caused the failure.

Do I need the debugpy library to use Python debugging capabilities for stepping through code?

You need the debugpy library and a Python environment to use these debugging capabilities. The Skill utilizes debugpy for remote debugging and pdb for local debugging to step through code and inspect variables.

What is the difference between local and remote Python debugging?

Local Python debugging uses pdb to step through scripts directly on your machine, while remote debugging uses debugpy to connect to and inspect Python applications running in different environments. Both support breakpoints and variable inspection.