python-debugpy

Debug Python scripts and running processes with pdb and debugpy.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/DonZzzilla/kalshi-explorer --skill python-debugpy-donzzzilla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-debugpy
Source: https://github.com/DonZzzilla/kalshi-explorer/tree/main/skills/user-skills/software-development/python-debugpy
Command: npx skills add https://github.com/DonZzzilla/kalshi-explorer --skill python-debugpy-donzzzilla

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Debug Python code with ease, no matter if you are looking to solve issues locally, with a script, or even in a running process.

Core Features & Use Cases

  • pdb: Interactive debugging at local breakpoints.
  • Remote Debugging: Debug running Python processes without stopping them.
  • Post-Mortem Analysis: Inspect exceptions in production code.

Quick Start

Set a breakpoint using 'breakpoint()' and inspect variables to debug a Python script.

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 running Python process without stopping it?

Remote debugging allows you to attach to running Python processes without stopping them. You can set breakpoints and inspect variables at runtime to troubleshoot live applications.

What is the best way to inspect Python exceptions in production code?

Post-mortem analysis allows you to inspect Python exceptions in production code. You can examine the program state and variables at the exact point where an exception occurred.

How do I set breakpoints to debug a Python script interactively?

To debug a Python script interactively, set a breakpoint using 'breakpoint()'. This pauses execution and lets you inspect variables and step through code locally.

Can I use pdb and debugpy to troubleshoot local scripts and remote servers?

Yes, pdb and debugpy support troubleshooting across various environments. You can use pdb for interactive local debugging and debugpy for remote servers and running processes.

Does Python debugging work for both interactive scripts and post-mortem analysis?

Python debugging covers both interactive scripts and post-mortem analysis. You can set local breakpoints during execution or inspect program state after an exception occurs.