CodeIgniter Forums
Debugging CI 3 using Firefox, Firebug, and firePHP? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Debugging CI 3 using Firefox, Firebug, and firePHP? (/showthread.php?tid=62245)



Debugging CI 3 using Firefox, Firebug, and firePHP? - raulcid - 06-23-2015

In trying to set up a resource for debugging CI 3, I have installed Firefox and the add-ons Firebug and firePHP. But I have not been able to find enough information about the required server-side firePHP library and its installation. The firePHP project lies in https://github.com/firephp/firephp , but the documentation links are unresponsive. I wonder if this project is still current.
If anybody in the CI community has traveled this path, I shall appreciate any pointers as to how to access the firePHP library and its documentation. Thanks a lot.


RE: Debugging CI 3 using Firefox, Firebug, and firePHP? - skunkbad - 06-24-2015

I use FirePHP every day. It's awesome. You should put FirePHP.class.php and fb.php in your libraries directory, and then autoload them in config/autoload.php by just adding 'fb' to the libraries array. Then when you want to log something, just use:

$this->fb->log('whatever');

I don't think that the files I am using have been modified, but if you want to look they are in the libraries directory of the older Community Auth:

https://bitbucket.org/skunkbad/community-auth-git-version/overview

For the Firefox extension, choose the one that is called FirePHP 0.7.4.1-signed. The other one you may find isn't as good.


RE: Debugging CI 3 using Firefox, Firebug, and firePHP? - raulcid - 06-25-2015

(06-24-2015, 04:34 PM)skunkbad Wrote: I use FirePHP every day. It's awesome. You should put FirePHP.class.php and fb.php in your libraries directory, and then autoload them in config/autoload.php by just adding 'fb' to the libraries array. Then when you want to log something, just use:

$this->fb->log('whatever');

I don't think that the files I am using have been modified, but if you want to look they are in the libraries directory of the older Community Auth:

https://bitbucket.org/skunkbad/community-auth-git-version/overview

For the Firefox extension, choose the one that is called FirePHP 0.7.4.1-signed. The other one you may find isn't as good.

Thanks a a lot @skunkbad for your useful pointers. I set up the debugging resource and it works great. The gitHub link is now working for the project, so I downloaded the server-side library from there. Cheers.