[Grok-dev] Re: Howto set up post-mortem debugging in Grok

Philipp von Weitershausen philipp at weitershausen.de
Mon Aug 20 06:12:19 EDT 2007

Sebastian Ware wrote:
> I can't find the section you are mentioning. Is this part of the new 
> order of things? The solution I proposed works for me, but my Grok is 
> from a couple of months ago.

Your solution is indeed outdated and no longer works with the eggified 
grok. Wichert's solution OTOH is right on. Would make a great recipe for 
the website *wink* :)

> 17 aug 2007 kl. 13.50 skrev Wichert Akkerman:
>> Previously Sebastian Ware wrote:
>>> This is so easy, it is very difficult to find any simple
>>> documentation... thus easy enough for me to contribute :) This
>>> section should be part of a "Grok Debugging Howto"...
>> I'm afraid it is not fully correct. The proper way to do this is by
>> modifying the buildout configuration:
>> in your buildout.cfg look for the zopectl section. You will see an entry
>> there that defines the zope.conf that should be used. Modify that to
>> look like this:
>>   zope.conf = ${data:zconfig}
>>       <server>
>>          type PostmortemDebuggingHTTP
>>          address 8080
>>       </server>
>> if you rerun buildout your zope.conf will be updated to use the
>> PostmortemDebuggingHTTP server.
>> I had to figure out that yesterday as well :)
>> Wichert.

http://worldcookery.com -- Professional Zope documentation and training

More information about the Grok-dev mailing list