[Zope3-dev] debugging
Steve Alexander
steve@cat-box.net
Thu, 15 May 2003 10:43:23 +0300
Marius Gedminas wrote:
> On Wed, May 14, 2003 at 09:47:29AM -0500, Garrett Smith wrote:
>
>>Is there a way to simular HTTP requests from within a python session,
>>sim to Zope 2:
>>
>>
>>>>>import Zope, ZPublisher
>>>>>ZPublisher.Zope('/foo')
>>
>>I'm dying to being able to step through code :-)
>
>
> >>> from zope.app import Application
> >>> a = Application()
> >>> a.publish('/foo')
> ...
> >>> a.debug('/foo')
> ...
See also Zope3/doc/DEBUG.txt
--
Steve Alexander