src/Handler/JsonHandler.php
public function isDebug()
    {
        if (null !== $this->container && $this->container->has('kernel')) {
            return $this->container->get('kernel')->isDebug();
        }

        return true;
    }
public function isDebug()
    {
        if (null !== $this->container && $this->container->has('kernel')) {
            return $this->container->get('kernel')->isDebug();
        }

        return true;
    }
Is debug.

@return bool