public function attachDebugHeader($name, $value, $ignoreEnv = false)
    {

        if ($this->env != 'development' && !$ignoreEnv) {
            return $this;
        }

        if (strpos($name, 'X-Webiny-Rest') === false) {
            $name = 'X-Webiny-Rest-' . $name;
        }

        $this->debugHeaders[$name] = $value;

        return $this;
    }