[IPython-dev] IPython <-> PuDB integration

Andreas Klöckner lists@informa.tiker....
Sat Jul 25 17:25:15 CDT 2009


On Freitag 10 Juli 2009, Robert Kern wrote:
> The user explicitly imports it in their ~/.ipython/ipy_user_conf.py . In
> ipy_pydbgr.py's case, I presume that Rocky intends us to manually copy that
> file into our ~/.ipython/ directories. I prefer to include these in the
> package itself so that it is always installed and ready for users to
> import.

With PuDB 0.92.10, IPython integration is finally a reality. Quoting PuDB's 
PyPI page:

8< -------------------------------------------------------------------------
PuDB ships with IPython integration. Just stick the line:

import pudb.ipython

into your $HOME/.ipython/ipy_user_conf.py, and then you may use the magic 
command:

%pudb script.py [args]

where [args] represents optional arguments, to launch PuDB from within 
IPython.
8< -------------------------------------------------------------------------

Happy debugging,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.scipy.org/pipermail/ipython-dev/attachments/20090725/43021112/attachment.bin 


More information about the IPython-dev mailing list