-
Notifications
You must be signed in to change notification settings - Fork 27
Debugging
zzolo edited this page Jul 25, 2011
·
2 revisions
The application is configured to log to logs/access.log and logs/main.log.
Not sure if this is the default state or part of the developer edition, but almost all SQL commands and lots of other things are put into the main.log.
- You can view the log live with the following command:
tail -f logs/main.log
It is suggested to use an IDE that supports debugging, but in the case where that is not available, you use the following to help debug.
- Output variables with
web.debug(variable). This will get outputted to thelogs/main.log, not the terminal.