I have eclipse setup with PHP debugging – that’s not a problem.
The problem is that it only debugs scripts I ran via eclipse / browser.
I am working with the Facebook-Credits which causes a call-back to my server (using normal HTTP post).
I am sure there is a way to make my debugger kick into action once the request is received [not via browser], I just haven’t found it! 😛 (I googled this quiet a bit)
If anyone has some tutorial/link that would be great,
Thanks
If you’re using XDebug, it’s just a matter of adding the parameter value pair
XDEBUG_SESSION_START=name_of_sessionto the query string.So if you were giving the callback:
you give instead:
And make sure you have a debugging session running in your IDE so XDebug can connect to it.