Debug methods? |
[eluser]Unknown[/eluser]
Hello everybody! I was wondering if Codeigniter provide any debug support for our applications... I am using Codeigniter for 2 days, and I am amazed... I love it ![]() Some debug methods may help. Thanks!
[eluser]stuffradio[/eluser]
What kind of debug support do you want? It has logs that you can look at when there are errors ![]()
[eluser]phpoet[/eluser]
Check out the Error Logging Threshold in your application/config/config.php file. For example, set the log_threshold to 2 for Debug Messages. Then you can write stuff like this: Code: log_message('debug', 'Only log this when debug mode is on.'); |
Welcome Guest, Not a member yet? Register Sign In |