Is there a way to setup IPython to start on exception automatically? I followed recipe at <a href="http://code.activestate.com/recipes/65287/">http://code.activestate.com/recipes/65287/</a>, but replaced <a href="http://pdb.pm">pdb.pm</a> call with ipshell(), with no luck.<br>
<br>In particular, the line of "IPython.Shell import IPShellEmbed" causes an exception at the time of importing of sitecustomize.py, the stack trace has following entry in it<br><br> from IPython import Debugger, PyColorize<br>
File "/var/lib/python-support/python2.5/IPython/Debugger.py", line 48, in <module><br> if '-pydb' in sys.argv:<br>AttributeError: 'module' object has no attribute 'argv'<br><br>