spyce
home
license
community
download
examples
resources
wishlist
contrib (@sf)
documentation
intro
lang
runtime
modules
tags
install
exits
sourceforge
statistics
freshmeat

Documentation - Runtime
[[ Spyce ]]
Python Server Pages
by Rimon Barr

Prev: 3.6.7 - cache Up: 3.6 - Configuration Next: 3.6.9 - globals

3.6.8. debug

The debug option specifies whether the engine will run in debug mode. Debug mode currently only affects the caching of Spyce files and Spyce modules. Namely, Spyce files are always recompiled and Spyce modules are not cached (are reloaded on each request) in debug mode, which is useful for module developers. This switch should not be used in a production environment, because compilation will slow things down considerably! The default value for this option is off. The values '0', 'false', and 'off' represent production mode (as does leaving out the debug option entirely), while any other value for this option turns debugging on.

Alternatively, one could decide to perform development under CGI mode. This ensures that a newly loaded Spyce engine is used on every request.


Prev: 3.6.7 - cache Up: 3.6 - Configuration Next: 3.6.9 - globals


© 2002-05 Rimon Barr
email: rimon@acm.org
Spyce Powered SourceForge Logo [[ Spyce ]]
Python Server Pages
version 1.3.13