This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Simple Debug


WP Simple Debug creates a simple function to allow developers to write to the WordPress debug.log.

Feature requests or bugs can be added to the GitHub page.


  • Creates wpsd_log() function that allows you to log data to the WordPress debug.log
  • Turns on debugging and logging
  • By default outputs file path and line number where function is called from.
  • Can output full backtrace to how function was called.


This section describes how to install the plugin and get it working.

  1. Upload the wp-simple-debug directory to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Note: This will turn on WordPress debugging, which will show any errors in any other plugins or themes.


After installing & activating the plugin…

  1. Use the function where you would like to in your code: wpsd_log( $data, $note, $file, $line, $full_backtrace )
  2. $data – required – mixed – The data you would like to log. This can be a string, array or object.
  3. $note – optional – string – Will log any note you’d like before outputting the data, such as a variable name. Default ”;
  4. $file – optional – bool – If true, will output the path to file calling the function. Default true.
  5. $line – optional – bool – If true, will output the line in the file calling the function. Default true.
  6. $full_backtrace – optional – bool – If true, will output the full backtrace to how the function was called, then die to prevent excessive amounts of data being written. Default false.


September 3, 2016
Thanks, I got my WP errors easily. This plugin helped debug my site and find the problem without a hitch. It delivered exactly what it said it was going to do and I love that. Five stars.
Read all 1 review

Contributors & Developers

“WP Simple Debug” is open source software. The following people have contributed to this plugin.


Translate “WP Simple Debug” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Stable version.


  • Added activation hook to place plugin at the top of the “active_plugins” WordPress option so that it is activated first.
  • Updated is_writeable_ACLSafe due to plugin clash.


  • Initial release