[Zope3-dev] debugging

Marius Gedminas mgedmin@codeworks.lt
Thu, 15 May 2003 09:55:06 +0300


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')
  ...

Marius Gedminas
-- 
Codeworks is available for Zope consulting -- http://www.codeworks.lt/