Hello,
How can I debug local PHP web service, which is called from the remote client? I mean I have a web service written in PHP and a client written in C#. The client neither adds XDEBUG_START_SESSION url parameter nor has a cookie.
PS. I need not just to log to a file or see request/response headers/data. I need normal step-by-step debugging with breakpoints.

Thank you in advance.

juanc says:

Check the xdebug documentation. There is an option to always debug all requests. I believe it is called auto_start

With that option you don't need any query string or cookie.

PashkaTLT says:

It's turned on:
xdebug.remote_autostart = 1

but it doesn't work..

Also xdebug_break() function doesn't work - I get a fatal error saying that xdebug_break() is undefined.

juanc says:

Are you using your own web server? If so, make sure xdebug is loaded and configured properly.

PashkaTLT says:

No, I am using built-in XDebug server. Debugging works, but calling xdebug_break() shows "undefined function" error.

hogayoga says:

We are in the same boat. VS.PHP does not seem to "listen" unless you run your project from Visual Studio. And even then only listens to the specific session.

Jcx folks ... PLEASE HELP!