Location: PHPKode > scripts > MDS Debug > mds-debug/example.php
<?
require_once('debug.class.php');
mode('DEBUG');			//turn on debug mode
				//log into flie and show errors 
mode('NORMAL');			//only log errors into files, show is off
mode('SILENT');			//no action to log errors

$pf=pf_start();			//init profiler instance
dump($GLOBALS);			//dump variable
echo pf_show($pf);		//show current profiler state
echo pf_stop($pf);		//echo execution time in seconds and drop instance
?>
send comments to hide@address.com
Return current item: MDS Debug