💻 Software Dev
Python Debugger (debugpy)
Debug Python code with pdb REPL and debugpy remote debugging (DAP protocol). Set breakpoints, inspect variables, and debug remotely.
skill_view("python-debugpy")
📖 Guide
Load with skill_view("python-debugpy"). For pdb: add import pdb; pdb.set_trace() in code. For debugpy: configure VS Code/pycharm for remote debugging via DAP.
🔧 How To
Quick debug: add breakpoint() in Python 3.7+ → run code → interactive pdb at the breakpoint. Remote: start debugpy server → connect from IDE → full DAP debugging.
⚠️ Pitfalls
pdb doesn't work in headless terminal environments without PTY. debugpy requires port access. Some async code is harder to debug with pdb.
Related Skills
More skills in Software Dev