1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-26 11:10:46 +02:00
Files
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
php-debugbar/demo/ajax_exception.php
2013-08-12 18:49:21 +10:00

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);
?>