Toggle Zope's debug mode

01 October 2005   0 comments   Zope

Mind That Age!

This blog post is 12 years old! Most likely, its content is outdated. Especially if it's technical.

Powered by Fusion×

This is far from rocket science but since I personally many times find it useful I thought I could share it with other Zope developers/users who find themselfs often editing the etc/zope.conf file to change the debug-mode key.

This script opens the zope.conf file and changes it to say debug-mode off if it said debug-mode on before and changes it to debug-mode on if it said debug-mode off before.

Using it looks like this:

~$ cd zope
~/zope$ wget
~/zope$ chmod +x
~/zope$ ./
debug-mode switched OFF
~/zope$ ./
debug-mode switched ON
Follow @peterbe on Twitter


Thank you for posting a comment

Your email will never ever be published

Related posts

Jed looking like Emacs 28 September 2005
Wanted: good Javascript for handling key events 04 October 2005
Related by Text:
Zope in DevelopmentMode 26 June 2005
Automatically refreshing issue 17 November 2005
Emacs html-mode for .zpt and .dtml 15 April 2004
Major performance fix on file searches 19 November 2005
Lesson learned: Unicodifying request variables in Zope 16 April 2009