Pretty Debug

plugin banner

A WordPress plugin that makes var_dump and print_r pretty!

Author:digitalnature, wycks (profile at wordpress.org)
WordPress version required:3.5
WordPress version tested:3.5.2
Plugin version:1.0
Added to WordPress repository:11-07-2013
Last updated:12-07-2013
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:1
Plugin URI:https://github.com/wycks/WP-Pretty-Debug
Total downloads:1 357
Active installs:10+
plugin download
Click to start download

Make var_dump's and print_r's more readable

Function output references with http://queryposts.com API when possible.

  • Use r instead of var_dump
  • Use rt for text mode.

For example:

r($GLOBALS['wp_query']->get_posts());
rt($GLOBALS['wp_query']->get_posts());

Notes :

All the work was done by digitalnature I just wrapped it into a WordPress plugin and changed the look for inline debugging.

Please report issues to: https://github.com/wycks/WP-Pretty-Debug


Screenshots
FAQ