Overview
Discover how to elevate your debugging skills beyond print statements in this informative PyCon US talk by Nina Zakharenko. Learn to harness the power of fully-featured debuggers to troubleshoot complex code situations efficiently. Explore various debugging tools, from the simple command-line pdb to sophisticated graphical debuggers in Python IDEs. Follow along with hands-on examples to diagnose problems and bugs in real code. Gain practical skills to boost your programming productivity, whether for personal projects, academic pursuits, or professional development. Cover topics such as setting breakpoints, examining program state, modifying variable values on the fly, and choosing the right debugging tool for different scenarios. Pick up valuable tips like using IPython interactive mode aliases and git pre-commit hooks to enhance your debugging workflow.
Syllabus
Intro
WHAT YOU'LL LEARN TODAY
CALL API & GET JSON
COMMAND LINE DEBUGGERS
CLI BREAKPOINTS IN PYTHON
5 MOST IMPORTANT COMMANDS
GRAPHICAL DEBUGGERS
PYTHON EXTENSION FOR VS CODE
VISUAL BREAKPOINTS
WHEN TO USE WHAT?
TRICK: IPYTHON INTERACTIVE MODE ALIAS IN POBRC
TIP: USE git pre-commit HOOKS
Taught by
PyCon US