About Debugging
Debugging is a Python debugging skill covering pdb, IDE debugging, logging, profiling, and error analysis. It is intended for Python developers troubleshooting code and performance problems.
Key features
- 01pdb and post-mortem debugging
- 02VS Code and PyCharm debugging
- 03Logging setup and strategies
- 04CPU and memory profiling
- 05Traceback and exception analysis
- 06Production error monitoring
Use cases
- 01Inspect Python execution with pdb
- 02Debug with IDE breakpoints and watches
- 03Diagnose performance and memory issues
- 04Analyze production exceptions and logs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ pluginagentmarketplace/ custom-plugin-python --skill debuggingAfter installing, type/debuggingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
assets/schema.jsonconfig.yamlreferences/PATTERNS.mdGUIDE.mdscripts/validate.pyDetails
From the project READMEPython Debugging Skill
Overview
Master Python debugging using pdb, IDE debuggers, and advanced troubleshooting techniques.
Topics Covered
pdb Debugger
- Basic pdb commands
- Breakpoint() function
- Post-mortem debugging
- Remote debugging
- pdb++ enhancements
IDE Debugging
- VS Code debugger
- PyCharm debugging
- Breakpoint conditions
- Watch expressions
- Call stack navigation
Logging
- logging module setup
- Log levels and handlers
- Structured logging
- Log aggregation
- Debug logging strategies
Profiling
- cProfile usage
- line_profiler
- memory_profiler
- py-spy for production
- Flame graphs
Error Analysis
- Traceback analysis
- Exception chaining
- Context managers for debugging
- Sentry integration
- Error monitoring
Prerequisites
- Python fundamentals
- Exception handling
Learning Outcomes
- Debug effectively with pdb
- Profile performance issues
- Set up proper logging
- Analyze production errors
Comments
Markdown supported