debug a python script ipdb code example Example: ipdb python #debugging with ipdb python -m ipdb mymodule.py