python-debugpy

Debug Python execution issues using pdb, breakpoint(), and debugpy workflows.

3|1|Updated Apr 19, 2024
One-click install
npx skills add https://github.com/guccang/blogclaw --skill python-debugpy-guccang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/guccang/blogclaw/tree/main/cmd/hermes-agent/vendor/hermes_runtime/skills/software-development/python-debugpy
Command: npx skills add https://github.com/guccang/blogclaw --skill python-debugpy-guccang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers diagnose difficult Python failures by providing practical workflows for interactive debugging, remote inspection, and post-mortem analysis.

Core Features & Use Cases

  • Interactive Debugging: Guides the use of pdb, breakpoint(), and Python debugging sessions to inspect state and trace execution.
  • Remote Debugging: Provides debugpy-based workflows for attaching debuggers to long-running services, subprocesses, and headless environments.
  • Use Case: Helps engineers investigate failing tests, broken agents, daemon issues, async problems, and production-like crashes by selecting the appropriate debugging approach.

Quick Start

Use the python-debugpy skill to help debug a failing Python process and choose the right pdb or debugpy workflow.

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 failing Python process using pdb or breakpoint()?

Debug a failing Python process by inserting breakpoint() into your code or launching the execution through pdb to interactively inspect state, trace calls, and step through execution to diagnose the failure.

How do I attach a debugger to a long-running Python service or subprocess?

Attach a debugger to a long-running Python service or subprocess by using debugpy remote debugging workflows to connect to headless environments and inspect the active execution state without restarting the process.

What is the best way to diagnose failing tests and async problems in Python?

Diagnose failing tests and async problems in Python by selecting an appropriate interactive debugging approach using pdb or debugpy to trace execution, inspect variables, and validate the issue source.

When should I use remote debugging instead of local interactive debugging for Python?

Use remote debugging instead of local interactive debugging when dealing with long-running services, subprocesses, daemon issues, or headless production-like environments where direct terminal access is unavailable.

Does this debugging workflow support post-mortem analysis for Python crashes?

Yes, the debugging workflow supports post-mortem analysis for Python crashes by utilizing interactive debugging and remote inspection techniques to examine the program state at the point of failure.