Debug a statement executed via the exec() function. globals defaults to __main__.dict; locals defaults to globals.
pdb/Pdb.run
Pdb.run