Installing FirePHP For Drupal

I just found this and thought I'd pass it along. Firebug is an extension for the Firefox browser which provides a rich interface for JavaScript debugging among other features. FirePHP is an extension that allows use to leverage Firebug rich interface for PHP debugging. To install FirePHP for Drupal follow the instructions provided by FirePHP HQ.

  1. Download and enable devel-module from
  2. Create a folder FirePHPCore in the devel-modul-folder (modules/devel)
  3. Download the FirePHPCore library from
  4. Unpack the FirePHPCore library and copy the lib folder to the FirePHPCore folder in the devel-module (modules/devel/FirePHPCore/lib)

The final file structure should be:

modules/devel/FirePHPCore/lib/FirePHPCore/fb.php modules/devel/FirePHPCore/lib/FirePHPCore/FirePHP.class.php

For logging to Firebug use dfb() instead of fb(). Both functions take the same arguments. You can find a reference here.


dfb('Log message', FirePHP::LOG);


comments powered by Disqus

© Balanced Scale Media, LLC. All right reserved.