PHP code example of zelasli / debugger
1. Go to this page and download the library: Download zelasli/debugger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zelasli / debugger example snippets
// First parameter is the debug mode type
// Second parameter is the debug environment type (production or development)
$debugger = new Engine(true, 'development');
// To start the debugger and handler.
$debugger->initialize();
class PageNotFoundException extends Exception implements RenderExceptionInterface
{
public function render()
{
// TODO: implement PageNotFoundException view
$view = "<h1>Page not Found (404)<h1>";
return $view;
}
}