python-debugpy

Enables Python debugging with pdb locally and debugpy for remote sessions.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/nadicodeai/argo-agent --skill python-debugpy-nadicodeai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/nadicodeai/argo-agent/tree/main/skills/software-development/python-debugpy
Command: npx skills add https://github.com/nadicodeai/argo-agent --skill python-debugpy-nadicodeai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables seamless Python debugging using pdb for local REPL and debugpy for remote/DAP sessions, streamlining diagnosis across scripts and services.

Core Features & Use Cases

  • Local debugging with pdb breakpoints and interactive inspection.
  • Remote debugging via debugpy for headless, long-running processes.
  • Post-mortem debugging and pytest integration guidance for failures.

Quick Start

Place a breakpoint in your code and run the script to engage pdb, or attach debugpy to a running process for remote debugging.

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 long-running Python process remotely?▼

To debug a long-running Python process remotely, attach debugpy to the running service for headless inspection. This requires an optional debugpy installation to facilitate the remote DAP session.

What is the best way to inspect Python variables locally using pdb?▼

The best way to inspect Python variables locally is by placing pdb breakpoints in your code and running the script. This engages pdb for local interactive REPL sessions and direct variable inspection during execution.

Can I use this for post-mortem debugging and pytest failures?▼

Yes, you can use this for post-mortem debugging and pytest failures. It provides integration guidance to diagnose test failures and perform post-mortem analysis after a Python process terminates unexpectedly.

Do I need to install debugpy to use basic Python breakpoints?▼

No, you do not need to install debugpy to use basic Python breakpoints. Local debugging relies on pdb, which requires only its availability, while debugpy is an optional dependency for remote DAP sessions.

Does this approach support remote debugging for headless services?▼

Yes, this approach supports remote debugging for headless services. By utilizing debugpy, you can attach to and inspect long-running Python services without a direct local interface, streamlining diagnosis across distributed scripts.