• RESUME
  • LOGIN

balanced scale media

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

Installing FirePHP For Drupal

mike — 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
  • mike'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

  • Security Updates for 2010
  • Contribution to Sandy's Ankeny
  • Access localhost from a VirtualBox Guest OS on Ubuntu
  • An Ubuntu Upgrade Guide
  • Links for New Ubuntu Users
  • Installing Tomcat + BlazeDs on Ubuntu
  • Eclipse Galileo + Aptana + PDT + Flex Builder + Bazaar
  • Development Task Management with Tasque
  • Piwik Web Analytics
  • Loftus Heating and AC Redesign
more

Topics

  • Aptana
  • Bazaar
  • Code
  • Drupal
  • Eclipse
  • Flex
  • Linux
  • Networking
  • Site News
  • Tomcat

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

Twitter

  • blog
  • projects
  • services
  • contact

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