python-debugpy

Integrate pdb and debugpy for local and remote Python debugging.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/DifanaDAP/hermes-backup --skill python-debugpy-difanadap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/DifanaDAP/hermes-backup/tree/main/workspace/skills/software-development/python-debugpy
Command: npx skills add https://github.com/DifanaDAP/hermes-backup --skill python-debugpy-difanadap

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies debugging Python applications by integrating the pdb and debugpy tools, enabling users to identify and fix issues quickly and effectively.

Core Features & Use Cases

  • pdb Integration: Provides an interactive Python debugger for step-by-step code inspection.
  • debugpy Support: Allows remote debugging and attaching to running processes for in-depth analysis.
  • Use Case: Debug a complex script by using the breakpoint() function to halt execution and inspect variables or modify code at runtime.

Quick Start

Use the python-debugpy skill to add a breakpoint at line 10 of your script and start debugging it with the command 'debug python-debugpy 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 by setting breakpoints and inspecting variables?

To debug a Python script, you can use the built-in pdb debugger to set breakpoints, step through code execution, and inspect variables at runtime to identify and fix issues.

Can I attach a debugger to a running Python process for remote debugging?

Yes, you can attach a debugger to a running Python process for remote debugging using debugpy, which allows in-depth analysis and troubleshooting of remote applications.

What is the best way to start interactive debugging in Python?

The best way to start interactive debugging in Python is by using the breakpoint() function to halt execution, allowing you to inspect variables and modify code step-by-step.

Does this Python debugging approach work for both local and remote applications?

Yes, this debugging approach works for both local and remote Python applications by integrating pdb for local interactive debugging and debugpy for attaching to remote processes.

What do I need to debug Python applications with pdb and debugpy?

You need the debugpy dependency installed in your Python environment to enable both local interactive debugging with pdb and remote process attachment with debugpy.