Most used PDB Commands
Command Key Description
Next n Execute the next line
Print p Print the value of the variable following p
Repeat Enter Repeat the last entered command
List l Show few lines above and below the current line
Step s Step into a subroutine
Return r Run until the current subroutine returns
Continue c Stop debugging the current breakpoint and continue normally
Quit q Quit pdb abruptly