Good day,

When developing a Web service, I encountered the following problem: I cannot start the debugger if the script is launched not from NetBeans, but through a request to the SOAP Server of this script from the client program. The developed script runs on a local Apache on Windows (XAMPP), the client program is started on the same machine. Everything is local.

How do I hook the debugger to the process created by the client program? Tell me, please, who knows how this is solved.

Thanks in advance.

  • Only if you run SoapServer from the IDE then it will be possible to intercept and debug. Otherwise, you will have to connect when it is already remotely started via remote_debug - Daniel Protopopov

1 answer 1

I decided. In my case, I added the GET parameter "XDEBUG_SESSION_START = netbeans-xdebug" to the SOAP-Service URL called by the client program. I run the NetBeans debugger, send a request - it works.