python-debugpy

Debug Python code with pdb and debugpy remote debugging.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/Brilly-Bohyun/skill-repository --skill python-debugpy-brilly-bohyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/Brilly-Bohyun/skill-repository/tree/main/software-development/python-debugpy
Command: npx skills add https://github.com/Brilly-Bohyun/skill-repository --skill python-debugpy-brilly-bohyun

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit helps developers debug Python code by providing access to the pdb REPL and debugpy remote debugging capabilities, making it easier to identify and fix issues in code.

Core Features & Use Cases

  • pdb REPL: Allows interactive debugging of Python code using the pdb REPL.
  • Remote Debugging: Provides remote debugging capabilities using debugpy, useful for long-running processes or headless environments.
  • Breakpoints: Set breakpoints in code to pause execution and inspect variables or state.
  • Use Case: When a Python application encounters an error or unexpected behavior, this Skill unit can be used to step through the code, inspect variables, and identify the root cause of the issue.

Quick Start

Use the python-debugpy skill to debug the script 'example.py' by setting a breakpoint at line 10.

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 with breakpoints?

To debug Python code with breakpoints, you can use the pdb REPL for interactive execution control or set breakpoints at specific lines to pause execution and inspect variables.

What is remote debugging in Python and when do I need it?

Remote debugging in Python uses debugpy to connect to Python processes from a distance. You need it for long-running processes or headless environments where direct interactive access is unavailable.

Do I need the debugpy library to debug Python code?

Yes, you need Python and the debugpy library installed to use the remote debugging capabilities and handle remote connections to Python processes.

Can I use pdb for interactive debugging of Python applications?

Yes, pdb provides an interactive REPL to debug Python code. You can step through execution, inspect variables, and identify the root cause of unexpected application behavior.

How do I set up remote debugging for Python processes?

Remote debugging setup uses debugpy to attach to running Python processes. This allows you to handle remote connections and inspect state in headless environments or long-running applications.

What is the best way to inspect variables during Python code execution?

The best way to inspect variables is by setting breakpoints with pdb or debugpy to pause Python execution, allowing you to examine the current state and identify issues.