This is a question I have wondered about for quite some time, yet I have never found a suitable solution. If I run a script and I come across, let\'s say an IndexError, pyth
python -m pdb script.py in python2.7 press continue to start and it will run to the error and break there for debug.