mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-26 11:10:46 +02:00
demo
bridge
ajax.php
ajax_exception.php
bootstrap.php
dump_assets.php
index.php
pdo.php
docs
src
tests
.gitignore
LICENSE
README.md
composer.json
phpunit.xml.dist
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);
|
|
?>
|