WordPress.org

Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

dbug

Simple error debugging and logging functions.

dbug Basics

Debugging

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.

Error Logging

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' );
}

Production / Development Environments

you should have them

Requires: 3.2 or higher
Compatible up to: 3.6.1
Last Updated: 3 years ago
Active Installs: 30+

Ratings

1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0