awesomite/error-dumper-bundle

Integrates awesomite/error-dumper into your Symfony application

v0.1.1 2017-06-18 22:45 UTC

This package is auto-updated.

Last update: 2024-11-11 15:11:15 UTC


README

SensioLabsInsight

Integrates awesomite/error-dumper into your Symfony application

Why?

To display easy to debug stack trace (see example).

Installation

First of all add library to the project:

composer require awesomite/error-dumper-bundle

Then register bundle in AppKernel::registerBundles:

if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
    $bundles[] = new \Awesomite\ErrorDumperBundle\AwesomiteErrorDumperBundle();
}

IDE integration

Define value of framework.ide. Functions and numbers of lines will be links to source code in your IDE.