mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
16 lines
231 B
PHP
16 lines
231 B
PHP
<?php
|
|
|
|
include 'bootstrap.php';
|
|
|
|
try {
|
|
throw new Exception('Something failed!');
|
|
} catch (Exception $e) {
|
|
$debugbar['exceptions']->addException($e);
|
|
}
|
|
|
|
?>
|
|
error from AJAX
|
|
<?php
|
|
echo $debugbarRenderer->render(false);
|
|
?>
|