Directory / plugin

Pretty Debug

v1.0 · by wycks

A WordPress plugin that makes var_dump and print_r pretty!

About this plugin

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

Plugin tags