Pretty Debug

By wycks

★ 5.0/5 (1 ratings)10+ active installationsVersion 1.0

A WordPress plugin that makes var_dump and print_r pretty!

Description

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

Installation

Use the Auto Installer.
Or Upload the zip and hit install.

FAQ

What is this?

var_dump – Dumps information about a variable.

Screenshots