Welcome Guest, Not a member yet? Register   Sign In
Debug methods?
#1

[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 Smile
Some debug methods may help.

Thanks!
#2

[eluser]stuffradio[/eluser]
What kind of debug support do you want? It has logs that you can look at when there are errors Smile
#3

[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.');




Theme © iAndrew 2016 - Forum software by © MyBB