31 lines
732 B
Markdown
Executable File
31 lines
732 B
Markdown
Executable File
Debug Component
|
|
===============
|
|
|
|
**CAUTION**: this component is deprecated since Symfony 4.4. Instead, use the
|
|
[ErrorHandler component](https://github.com/symfony/symfony/tree/master/src/Symfony/Component/ErrorHandler).
|
|
|
|
-----
|
|
|
|
The Debug component provides tools to ease debugging PHP code.
|
|
|
|
Getting Started
|
|
---------------
|
|
|
|
```
|
|
$ composer require symfony/debug
|
|
```
|
|
|
|
```php
|
|
use Symfony\Component\Debug\Debug;
|
|
|
|
Debug::enable();
|
|
```
|
|
|
|
Resources
|
|
---------
|
|
|
|
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
|
|
* [Report issues](https://github.com/symfony/symfony/issues) and
|
|
[send Pull Requests](https://github.com/symfony/symfony/pulls)
|
|
in the [main Symfony repository](https://github.com/symfony/symfony)
|