python-debugpy

Debug Python applications via pdb and debugpy with remote DAP attachment.

9|Updated Jul 1, 2026
One-click install
npx skills add https://github.com/Cyapstaye/Adame_ver.open --skill python-debugpy-cyapstaye
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/Cyapstaye/Adame_ver.open/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/Cyapstaye/Adame_ver.open --skill python-debugpy-cyapstaye

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires debugpy, remote-pdb.

What problem does it solve?

This skill resolves complex Python runtime issues by providing a structured approach to interactive debugging, stack inspection, and remote process attachment.

Core Features & Use Cases

  • Interactive Debugging: Utilize pdb for local, step-by-step code execution and variable inspection.
  • Remote Debugging: Attach to long-running processes or headless services using debugpy and DAP.
  • Post-Mortem Analysis: Inspect the state of an application at the exact moment an exception occurs.
  • Use Case: When a production-like service or a complex subprocess hangs, use this skill to attach a debugger and inspect the call stack and local variables in real-time.

Quick Start

Use the python-debugpy skill to attach to the running process with PID 1234 and set a breakpoint at line 42 of the main script.

Frequently Asked Questions about python-debugpy

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

FAQPage Schema
How do I attach a debugger to a running Python process in production?▼

Post-mortem debugging allows you to inspect the exact application state at the moment an exception occurs. This skill supports post-mortem analysis to help you trace the root cause of crashes by examining the stack and variables after the failure.

Can I debug asynchronous and multithreaded Python codebases?▼

You can use pdb for local, step-by-step interactive code execution and variable inspection within a REPL session. This provides a structured approach to trace runtime issues and evaluate expressions on the fly.

Does debugpy support the Debug Adapter Protocol for remote services?▼

You can start by attaching the debugger to a running process using its PID and setting a breakpoint at a specific line in your script. This allows immediate inspection of the execution state and local variables at that exact point.

What is the best way to inspect a hung Python subprocess?▼

Post-mortem debugging allows you to inspect the exact application state at the moment an exception occurs. This skill supports post-mortem analysis to help you trace the root cause of crashes by examining the stack and variables after the failure.

Why use pdb over debugpy for local interactive debugging?▼

Yes, this skill facilitates deep inspection of both multithreaded and asynchronous Python codebases. It provides structured interactive debugging to help you navigate complex concurrent execution flows effectively.