I read a lot of topics about debugging a client-server application (most concerned SOAP client-server).
I also wach the parallel debbugging video tutorial.
My question is how can I debug an Oauth client-server applicaion with PHPEd.
This is the client code
<?php
$oauth_client = new Oauth("key","secret");
$oauth_client->enableDebug();
try {
$info = $oauth_client->getRequestToken("http://localhost/oauth/oauth/request_token?oauth_callback=http://localhost/oauth/client/callback.php");
} catch(OAuthException $E){
echo "<pre>".print_r($E->debugInfo,true)."</pre>";
}
?> |
I tryed to put the DebugBreak(); function in the server code but I received an error "faild to resolve client adress".
All the server and client files are on the same linux remote server.