python-debugpy

Debug Python code with breakpoints and runtime inspection via pdb and debugpy.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill python-debugpy-nitish-gitbit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/NITISH-gitbit/hermes-custom/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/NITISH-gitbit/hermes-custom --skill python-debugpy-nitish-gitbit

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit addresses the challenge of debugging Python applications, offering tools for local and remote debugging, handling breakpoints, and inspecting code execution.

Core Features & Use Cases

  • Debugging Tools: Integrates pdb and debugpy for debugging Python code.
  • Breakpoints and Inspections: Supports setting breakpoints, inspecting call stacks, and watching variables.
  • Use Case: Debug complex applications with debugpy's remote debugging capabilities or use pdb for interactive debugging.

Quick Start

Set a breakpoint at a specific line and run the script: breakpoint() at the desired line.

Frequently Asked Questions about python-debugpy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Python code using pdb and debugpy?

Python debugging with pdb and debugpy lets you step through code, set breakpoints, and analyze runtime values. You can use pdb for interactive sessions or debugpy for remote debugging across complex applications.

What is the difference between pdb and debugpy for Python debugging?

Python debugging differs between the two as pdb is used for interactive debugging directly in the terminal, while debugpy supports remote debugging capabilities via the DAP protocol for troubleshooting complex applications in production.

How do I set a breakpoint to inspect a Python call stack?

To inspect a Python call stack, set a breakpoint by inserting breakpoint() at the desired line in your script. When execution pauses, you can analyze the call stack and watch variables using pdb or debugpy commands.

Can I use debugpy for remote production debugging?

Yes, debugpy supports remote production debugging via the DAP protocol. You can attach it to a running Python environment to troubleshoot complex applications, inspect call stacks, and analyze runtime values remotely.

Do I need a specific Python environment to run pdb and debugpy?

You need a standard Python environment with the pdb and debugpy libraries installed to operate. These dependencies are required for setting breakpoints, inspecting call stacks, and executing remote debugging sessions.