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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.