https://github.com/entomb/slim-json-api/blob/master/jsonAPI/JsonApiMiddleware.php#L33 I think setting debug value is developer choice