This plugin incorporates the pear php_debug library into wordpress.
I started creating a new website around wordpress and noticed that there was no way to quickly access debug information so I integrated this class into wordpress for quick easy debugging when developing or experiencing problems on your wordpress website.
Please feel free to discuss it here: Plugin Home.
Unfortunately php_debug only works in php5 so this plugin will only work in php5. - Features
This plugin unlike most operates from within a class. There are several options which can be set in the admin section
You can easly add debug information to the debugger by making use of several functions
<?php
$oDebug = wp_pear_debug::get();
$oDebug->add($variable); //add variable to debug
$oDebug->dump($object,$varname); //var_dump an array or object. $varname optional
$oDebug->queryRel($info); //add query related info
$oDebug->error($info); //add user error
//more options available in the pear::php_debug documentation
//With v1.2 you have access to several wrapper functions
wp_pear_debug::add();
wp_pear_debug::dump();
wp_pear_debug::error();
wp_pear_debug::queryRel();
?>
Debug information appears in a neat panel controlled by javascript. The options expand and collapse. The debug panel also has a close button to completely remove the debug panel.
Note that the debug bar floats at the top right and will not disrupt your layout.
TO ensure layout stability the plugin is hard coded to use only the HTML Div Renderer
displaying server and response varables.




