public function debug($resource, $transform_tasks)
    {
        // call TransformationMixin functions
        $tasks_str = $this->createTransformStr($transform_tasks);
        $transform_url = $this->createTransformUrl(
            $this->api_key,
            'image',
            $resource,
            $tasks_str,
            $this->security
        );
        $json_response = $this->sendDebug($transform_url, $this->api_key, $this->security);

        return $json_response;
    }