Adding print statements and re-running Reading code and guessing what's wrong Making changes based on assumptions without verifying them This is inefficient. Real developers don't debug this way—they ...
To open a debugger 'post mortem', after an error hits the top level: When running interactively: call patdb.debug() after the error has returned you to the REPL. (Or ...