Joomla FirePHP Plugin - Debug Tool

Do you have an Open Source Product available for Joomla!? Let everyone know here.
Locked
Zjmainstay
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jan 13, 2012 2:35 am
Contact:

Joomla FirePHP Plugin - Debug Tool

Post by Zjmainstay » Tue Oct 08, 2013 6:20 am

This is a plugin for debug on joomla by using firephp.You can get document about firephp usage here:http://www.firephp.org/HQ/Use.htm

When you enable the FirePHP plugin, you can use fb() function in Joomla simply to dump the variable or trace the program.
Common Usage:

Code: Select all

(1) fb($var); //dump value
(2) fb($var,FirePHP::TRACE); //trace program, simple use fb(1,FirePHP::TRACE);
If you done want to enable FirePHP plugin or the plugin haven't loaded when you use fb() function, you can manually load FirePHP before use it by use

Code: Select all

if(!class_exists('FirePHP')) require JPATH_ROOT.'/plugins/system/firephp/FirePHPCore/fb.php';
Open Source Link:http://git.oschina.net/Zjmainstay/Joomla-FirePHP-Plugin
个人博客:http://zjmainstay.cn

Locked

Return to “Open Source Products for Joomla!”