This is the official MayCo debugger for your PHP projects.
The folder of this debugger needs to be located at the root folder of your webserver.
Copy the following code to include the PHP debugger to your project:
$rootpath = realpath($_SERVER["DOCUMENT_ROOT"]);
require_once $rootpath.'/mayco-php-debugger/main.php';
Use it like:
<?php
$rootpath = realpath($_SERVER["DOCUMENT_ROOT"]);
require_once $rootpath.'/your-project/main.php';
Debugg::log("log");
Debugg::warn("warnung");
Debugg::error("error");
Debugg::time("zeit");
Debugg::trace();
TIMER -> start();
TIMER -> print();
TIMER -> print();
TIMER -> end();
?>
Marius May