• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

PHP: Print caught exception like Xdebug

phpexceptionxdebug


PHP Snippet 1:

xdebug_print_function_stack($exception);

PHP Snippet 2:

echo '<table>'.$e->xdebug_message.'</table>';

PHP Snippet 3:

xdebug.show_exception_trace = 1

PHP Snippet 4:

xdebug.show_error_trace = 1

Related Snippets

Wordpress how to get the post thumbnail inside a figure tag

Entity provider not working in security.yml php symfony3.4 ({"code":401,"message":"bad credentials"}.)

Laravel You requested 1 items, but there are only 0 items available

500 (Internal Server Error) with Laravel & Docker [duplicate]

How to set a domain name with php artisan serve

Laravel s3 upload file with metadata using pre-signed url

Laravel Route issues with Route order in web.php

Update Order custom Field value with WooCommerce REST API

how can I set a session variable in Drupal 8 and get it in a php script?

Cannot pass null argument when using type hinting

How to keep value of selected value after form submission?

How to give apache permission to write to home directory?

Check if a string contain multiple specific words

calling server using nusoap with complextype

Applying programmatically a coupon to an Order in WooCommerce3

About Contact Privacy policy Terms and conditions