[Zope] debug with ipython

Martijn Pieters mj at zopatista.com
Tue Jun 6 10:47:11 EDT 2006


On 6/6/06, thomas desvenain <thomas.desvenain at gmail.com> wrote:
> is it possible to use zopectl debug with ipython ?

Yes, that's posssible; I use the attached shellscript to set up the
ipython shell with the same environment as what you'd get when you
execute zopectl debug.

The attached version is for use with python 2.4 (Zope 2.9 and up), but
it should work fine with python 2.3 and Zope 2.8 as well if you rename
the ipython command on the last line. For Zope 2.7 and lower, you'll
need to rename both occurences of 'Zope2' with 'Zope' as well.

-- 
Martijn Pieters
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipython2.4-zope
Type: application/octet-stream
Size: 1274 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060606/3e6f5872/ipython2.obj


More information about the Zope mailing list