Skip to main content
在 Manus 中运行任何 Skill
一键导入

python-debugpy

星标3
分支5
更新时间2026年7月13日 11:23

Debug Python programs two ways — the standard-library pdb REPL for interactive/post-mortem inspection, and debugpy for remote DAP (Debug Adapter Protocol) attach over a socket. Use whenever a task needs to step through Python code, inspect variables/stack at a crash, set breakpoints, or drive a debug session on a running/remote process (containers, servers, another venv). Covers non-interactive pdb via `-c`/commands file, post-mortem `pdb.pm()`, `python -m debugpy --listen/--connect/--wait-for-client/--pid`, SSH-tunnelled remote attach, and driving a minimal DAP client from bash with anyio (already a core dep — no new packages). NOT for Node.js (use node-inspect) or static analysis (use python-static-analysis).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly