~/talk

Goodbye Print, Hello Debugger!

Talkat DjangoCon US 2019 · 2019-09-22..09-27· [developer-experience]
slides:none on file

Advocates ditching print debugging in favor of real debuggers, claiming measurable speedups after switching: about 40% of the audience already used PDB/IPDB while only a handful use IDE tools. Demonstrates a simple Flask app that queries the GitHub API and inserts a breakpoint method (Python 3.7) to inspect the JSON; shows IPDB on the CLI, VS Code graphical debugger, Jupyter cell debug, and a pre-commit hook that prevents committed breakpoints.

AI-written summary · about

  1. 0:00Start
  2. 8:06A DEBUGGER HELPS YOU EXAMINE THE STATE OF A RUNNING PROGRAM
  3. 10:46TYPES OF DEBUGGERS
  4. 12:23PYTHON 3.7? USE breakpoint
  5. 25:161. Download VS Code 2. Install Python Extension 3. Create a Debugger Configuration
  6. 25:47WHEN TO USE WHAT?
  7. 26:24TIPS & TRICKS
  8. 28:57DON'T LEAVE BREAKPOINTS IN PRODUCTION CODE!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.