I\'m using Eclipse and XDebug to develop a PHP application that relies on web services. I have test pages that consume my services in 2 ways: AJAX (using jQuery) and cURL.>
I ran into this same exact issue. I solved it by turning the auto-start feature off in php.ini:
xdebug.remote_autostart = 0
and then adding the API key to the webservice URL that my webservice client calls:
?XDEBUG_SESSION_START=
and I'm not sure if this matters, but I entered the API key into my debugger (MacGDBp). Now the debugger fires up only when the webervice server-side script is called, not when the client is started.
Hope this helps.