I want use xdebug to analyze a php script and break, as soon as a remote host sends an HTTP request for that particular page, to GDB running on the server. Config options for php.ini are:
    xdebug.remote_enable = On
    xdebug.remote_autostart = 1
Since the debugger isn't on a different machine, but I want to debug only when a remote request is sent, how can I do this without debugging through a web browser? Should I run GDB on port 9000 and send the value XDEBUG_SESSION_START = session_name in the request?