- pdb
pdb = Python Debugger
Include the following code in your script at any point, and run the script as you'd do normally. It will stop at the given point and enter the debugger.
import pdb; pdb.set_trace()
Include the following code in your script at any point, and run the script as you'd do normally. It will stop at the given point and enter the debugger.
import pdb; pdb.set_trace()