
A screenshot with mouseover
Make var_dump’s and print_r’s more readable
Function output references with http://queryposts.com API when possible.
- Use
r
instead ofvar_dump
- Use
rt
for text mode.
For example:
r($GLOBALS['wp_query']->get_posts());
rt($GLOBALS['wp_query']->get_posts());
Notes :
- Probably doesn’t work in ie
- Don’t use this on a production site but you probably already know that
- More usage https://github.com/digitalnature/php-ref
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
Active installations10+
Weekly downloads
8+14.29%
Version1.0
Last updated7/12/2013
WordPress version3.5
Tested up to3.5.2
Tags
debugdebuggingvar_dump