pdb supports setting up breakpoints, step into functions, go to next line in execution, source code listing, source code evaluation etc. Then use '?' or 'help' to access all pdb commands. As you can ...