Location: PHPKode > scripts > Easy Debugger > functions.php
<?php
// These functions simply make it easier to call the debugger in code.

function debug($message = NULL, $color = NULL) {
    global $debug;
    $debug->add($message, $color);
}

function debug_mail($message = NULL, $to = 'hide@address.com') {
    global $debug;
    $debug->debug_mail($message, $to);
}
?>
Return current item: Easy Debugger