I am having troubles with my PHP application which uses Drive SDK. I am trying to update a file, but all the time I receive
500 Internal Error
I still didn't find any option for debugging- However, I found how I can view the requests done by the API client.
google-api-php-client/io/Google_REST.php file and find
static public function execute(Google_HttpRequest $req) function.
There you will find this line:
$httpRequest = Google_Client::$io->makeRequest($req);
Right under it put the following code:
During every request the client will do, you will get dump of it's request.