views:

270

answers:

1

Does CodeIgniter provide a Debug Mode, for example, when accessing an Invalid URL?

Ruby on Rails does show debugging Messages when a incorrect URL has been given, and the controller is unable to resolve it using the routes map. How would I enable such debugging messages in CodeIgniter?

The profiler ...

$this->output->enable_profiler(TRUE);

... only affects single classes, but not all routes. So debugging without an actual debugger mode is a little... difficult. :-)

+1  A: 

The profiler is more of a performance analysis than a debugger. The way to go would be implementing very popular xDebug with CodeIgniter.

Sarfraz
I'm going to try this, but isn't this more a eclipse-specific debugger? Since I don't use eclipse, that wouldn't really help :-(
nebukadnezzar
@nebukadnezzar: I hope there is a way to implement xdebug in ecplise too because of its popularity, there should be some solution out there possibly.
Sarfraz