描述
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
螢幕截圖
安裝
Use the Auto Installer.
Or Upload the zip and hit install.
評價
There are no reviews for this plugin.