• RESUME
  • LOGIN

balanced scale media

  • blog
  • projects
  • services
  • contact
Home › Blogs › boz's blog

Installing FirePHP For Drupal

boz — Sat, 03/07/2009 - 07:55

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 http://drupal.org/project/devel
  2. Create a folder FirePHPCore in the devel-modul-folder (modules/devel)
  3. Download the FirePHPCore library from http://www.firephp.org/HQ
  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.

<?php

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

?>

  • Drupal
  • boz's blog
  • Add new comment
  • ""

Thanks alot!!!

Anonymous — Tue, 12/01/2009 - 22:01

Thanks alot!!!

  • reply

Thanks

Anonymous — Wed, 03/18/2009 - 11:50

This was very helpful.

  • reply

Recent Posts

  • Remote Drush
  • Update CCK Fields In Custom Drupal Nodes
  • Image Security Made Simple With jQuery
  • Simple Apache / MySql Backup Script
  • Environment Based Database Selection In Drupal
  • Comparing Syntax of MooTools 1.1 with MooTools 1.2 and jQuery 1.4
  • Nid Based Panel Variants in Drupal
  • Security Updates for 2010
  • Contribution to Sandy's Ankeny
  • Access localhost from a VirtualBox Guest OS on Ubuntu
more

Topics

  • Apace
  • Aptana
  • Bazaar
  • Code
  • Drupal
  • Eclipse
  • Flex
  • JavaScript
  • jQuery
  • Linux

Archive

  • February 2008 (1)
  • May 2008 (1)
  • July 2008 (3)
  • December 2008 (2)
  • January 2009 (2)
  • March 2009 (3)
  • April 2009 (5)
  • May 2009 (1)
  • July 2009 (1)
  • August 2009 (3)
more

Links

Firefox 3

drupal

ubuntu

 

  • blog
  • projects
  • services
  • contact

© 2010 Balanced Scale Media, LLC. All Rights Reserved.