preload
Feb 12

My good friend Jim Roepcke showed me how to use the Plone debugger and it already saved me a ton of time! Here is a really brief howto:

Start your zope instance in the foreground like this:

/path/to/zope/instance/bin/zopectl fg

in your code:

import pdb

then anywhere you want the program to break add this line

pdb.set_trace()

You can find more information here:
http://plone.org/documentation/how-to/using-pdb

Well worth checking out!

Thanks Jim!

Leave a Reply

You must be logged in to post a comment.