Simple error debugging and logging functions.
As of April 2026, dbug is a WordPress debug plugin with 10 active installations and a 1/5 rating from 1 reviews. It has been downloaded 2.2K+ times in total. Requires WordPress 4.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 8 years ago — may have compatibility concerns. Top alternative: WP Crontrol.
dbug() dlog() ddbug()
Call with up to three arguments:
<?php
// output a variable
dbug( $var );
// output a variable with a title
dbug( $debug, 'Testing' );
// output a variable with a title and information from the last 6 steps from debug_backtrace
dbug( $somevalue, 'Trying to figure some shit out', 6 );
}
or use ddbug to dbug and die.
Call with up to three arguments:
<?php
// log a variable
dlog( $val );
// log a variable with a title
dlog( $buggy, 'what is $buggy' );
// log a variable with a title into the file 'bug_trap'
dlog( $somevalue, 'im desperate', 'bug_trap' );
}
you should have them
| WordPress | 4.0+ requiredTested up to 4.9.29 |
| PHP | false+ required |
change create_function for php >= 7.2
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.