Python Debugger Cheatsheet
Python Debugger Cheatsheet
Breakpoints
Examine
b(reak) show all breakpoints
p(rint) expr print the value of expr
b(reak) lineno set a breakpoint at lineno
pp expr pretty-print the value of expr
w(here) print current position (including stack trace) b(reak) func set a breakpoint at the first line of a func