EN DE
← ← Zurück zur Übersicht

python-debugpy

software-development › python-debugpy v1.0.0
debugging python pdb debugpy breakpoints dap post-mortem

Beschreibung

Debug Python: pdb REPL + debugpy remote (DAP).

Relevanz für unsere Projekte

Debug Python: pdb REPL + debugpy remote (DAP).

SKILL.md Preview

# Python Debugger (pdb + debugpy)

## Overview

Three tools, picked by situation:

| Tool | When |
|---|---|
| **`breakpoint()` + pdb** | Local, interactive, simplest. Add `breakpoint()` in the source, run normally, get a REPL at that line. |
| **`python -m pdb`** | Launch an existing script under pdb with no source edits. Useful for quick poking. |
| **`debugpy`** | Remote / headless / "attach to already-running process." Talks DAP, scriptable from terminal, works for long-lived processes (gate

← ← Zurück zur Übersicht