Debug Print R

Tags: debug
Requires at least: 3.0
Tested up to: 4.3.1
Stable tag: 1.0
License: GPLv2 or later
License URI:


Provides PHP variable debugging. Upon install, your IP address, along with, is saved as the default debug::enabled() IPs.


  1. Upload the entire plugin folder to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To manage IP’s, go to: Plugins page > debug-printr > Settings


debug::print_r($var); // (mixed) $var is the variable you want to print to the screen

Frequently Asked Questions

  • Why doesn’t the file name and line number show up sometimes?
    This plugin uses the PHP function debug_backtrace(), which may not be available on your system. You may pass in the file and line as arguments #3 and #4 respectively.


  1. Example of: global $post; debug::print_r($post);
  2. Add each IP or Hostname on its’ own line.


  • 1.0: Initial plugin development and testing.

Upgrade Notice

  • 1.0: Upgrade? More like init.

Leave a Reply

Your email address will not be published. Required fields are marked *