Debugging · pluginagentmarketplace — Claude Code skill: pdb, logging, profiling
A walkthrough of Python debugging: pdb sessions, IDE breakpoints, logging setup, profilers and traceback reading, with the commands spelled out.
LicenseRef-Proprietary 233 installs ★ 7 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a claude-codeWhat Debugging does
The skill splits Python debugging into five blocks. The pdb part starts with the everyday commands, then breakpoint(), inspecting a process that already crashed, attaching to a remote one and the pdb++ add-ons. The IDE material covers VS Code and PyCharm debuggers, conditional breakpoints, watch expressions and moving around the call stack.
Logging runs from wiring up the logging module to structured records and shipping them to an aggregator. Profiling lists cProfile, line_profiler, memory_profiler, py-spy on live servers and flame graphs. Error work means reading a traceback, chained exceptions, context managers, Sentry wiring and monitoring.
The skill is bound to the 04-testing-quality subagent as its PRIMARY_BOND, so it is meant to travel with that pairing rather than stand alone. Python basics and exception handling are listed as prerequisites: without them the traceback and chaining material reads as a glossary.
What it helps with
- trace an exception back to the line that actually broke
- drop
breakpoint()into a failing branch and step the stack - set up
loggingwith levels and handlers - profile a slow function with
cProfileandline_profiler - wire Sentry into a service and group its errors
Example prompts for the agent
- Walk me through this traceback and show where the exception chain starts.
- Put
breakpoint()in the branch that fails insideparser.pyand step through the call stack. - Profile
build_report()withcProfileand tell me which calls dominate.
How to install Debugging
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a claude-code2Manually: put the files in place
~/.claude/skills/debugging/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/debugging/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a codex2Manually: put the files in place
.agents/skills/debugging/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a cursor2Manually: put the files in place
.cursor/skills/debugging/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-python skills/debugging2Manually: put the files in place
.github/skills/debugging/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-python --path skills/debuggingManually: put the files in place
.devin/skills/debugging/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about Debugging
How do I install Debugging in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-python --skill debugging -a claude-code. The skill lands at ~/.claude/skills/debugging/SKILL.md.
What does the Debugging skill cover?
pdb and IDE debuggers, logging setup, profiling with cProfile, line_profiler, memory_profiler and py-spy, and error analysis with Sentry.
Does it work outside Claude?
Yes. It is published for Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode too, each with its own install command.
Similar skills
All skills for Programming languages →Debugging by other authors comes first.