Console

Debug PHP variables in the JavaScript console (Chrome & Firebug). Use instead of PHP's native var_dump() function.

Author:Kelly Meath (profile at wordpress.org)
WordPress version required:3.0.0
WordPress version tested:3.3.2
Plugin version:1.7.2
Added to WordPress repository:03-01-2012
Last updated:08-01-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:3
Plugin URI:
Total downloads:1 490
Active installs:100+
plugin download
Click to start download

Debug PHP variables in the JavaScript console (Chrome & Firebug). Use instead of PHP's native var_dump() function.

Usage: <?php console( $var ); ?>

You can also tag a variable; Usage: <?php console( $var, $tag ); ?>.

Debug with Krumo: <?php console( $var, $tag, true ); ?>.

To globally enable Krumo, add: <?php define( 'CONSOLE_KRUMO', true ); ?> to functions.php OR wp-config.php.

Shorthand: <?php c( $var ); ?>.

You must be a logged-in Admin to see debug messages.