Skip to content. | Skip to navigation

Personal tools
Log in
Sections
You are here: Home Web Plone Snippets and Examples Zope Debugger

Zope Debugger

Interact with your instance

To start

$ bin/instance debug

To synch

>>> app._p_jar.sync()

To save

>>> import transaction
>>> transaction.commit()

Code completion

>>> import readline, rlcompleter
>>> readline.parse_and_bind('tab: complete')

Log in as a particular user

from AccessControl.SecurityManagement import newSecurityManager
user = app.acl_users.getUser(user_name_or_id)
newSecurityManager(None, user.__of__(app.acl_users))
Document Actions

Comments (0)

« May 2012 »
May
MoTuWeThFrSaSu
123456
78910111213
14151617181920
21222324252627
28293031