~/talk

Goodbye Print Statements, Hello Debugger!

Talkat PyCon AU 2019 · 2019-08-02..08-06· [developer-experience, testing]
slides:none on file

Major claim: replacing print statements with debuggers speeds development. Demonstrations use a small Flask app hit by curl that drops into breakpoint() in Python 3.7, into pdb or ipdb with syntax highlighting and tab completion, and into VS Code’s graphical debugger with hover variables and a debug console. Poll shows most still use prints, ~10% use pdb/ipdb and ~20% use IDE debuggers. Practical tips include a Jupyter cell debugger preview and a pre-commit hook to block breakpoints so they don’t ship.

AI-written summary · about

  1. 0:00Introduction
  2. 2:58Why Debuggers
  3. 5:51Debugger
  4. 9:10Types of debuggers
  5. 10:37Breakpoints
  6. 14:05CLI Debugging
  7. 18:42IDE Debugging
  8. 19:38VS Code Debugging
  9. 22:54When do you use what tool
  10. 23:36Tips and tricks
  11. 26:51Precommit hooks
~/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.