CAUTION: this component is deprecated since Symfony 4.4. Instead, use the ErrorHandler component.
The Debug component provides tools to ease debugging PHP code.
$ composer require symfony/debug
use Symfony\Component\Debug\Debug;
Debug::enable();