|
|||||||
1. Introduction
2. Installing Karrigell 3. The Web server 4. Configuration options 5. Working with Apache, LightTPD or Xitami 6. Programming 7. Debugging 7.1 Debug mode 7.2 Error handling and debugging 8. Python scripts 9. Karrigell Services 10. Python Inside HTML 11. HTML Inside Python 12. HTMLTags - generate HTML in Python 13. Including documents 14. Sessions 15. Authentication 16. Translation and Unicode |
7. Debugging7.1 Debug modeWhen you are testing new versions of a program, there is often the case when you change a module which is imported by your scripts. For performance reasons, the standard Python interpreter uses the compiled versions of the modules which have been imported, and does not check if the source has been modifiedYou can set the debug option in the configuration file to 1, to force the reloading of the modules whose source code has been modified since they were last used Once the program works, you can set the debug mode to 0 7.2 Error handling and debuggingIf an error happens when calling an URL, a trace is displayed in the browser The information provided consists of :
Snapshot :
|