A WordPress plugin that makes var_dump and print_r pretty!
As of April 2026, Pretty Debug is a WordPress debug plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 1.8K+ times in total. Requires WordPress 3.5+ and PHP false+. Available on WordPress.org since 2013. Last updated 12 years ago — may have compatibility concerns. Top alternative: WP Crontrol.
Make var_dump’s and print_r’s more readable
Function output references with http://queryposts.com API when possible.
r instead of var_dumprt 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
| WordPress | 3.5+ requiredTested up to 3.5.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.