Search code examples
phpcodeigniterfirebug

Debugging CodeIgniter with FirePHP


I'm using CodeIgniter with WAMP (PHP 5.3.8) on Windows 7 and using Firebug and everything is fine, except I've decided to use FirePHP and it's not working.

Here's what I'm doing:
I have Firefox 35.0.1, Firebug 2.0.7 and FirePHP 0.7.4. I've downloaded FirePHPCore 0.3.2 and copied the files 'fb.php' and 'FirePHP.class.php' to the libraries folder. I've autoloaded fb and then I've gone to the controller and entered $this->fb->log('TEST');.

The word TEST does not appear in the console. Have I got a compatibility problem or am I doing something wrong?


Solution

  • why you don't just try

    $this->firephp->log($sql);