Search code examples
phpvb6phpstormxdebug

Debugging third party app calls to a PHP script with PhpStorm


Context: I have configured PhpStorm with xDebug to debug my php scripts from the browser, this is working fine. I make calls to my php scripts through a web browser and PhpStorm is getting those calls.

Problem: Now I need PhpStorm to receive the calls from another application that is not a web browser. I have a third app made in VB6 that is sending request to the scripts via Inet, but PhpStorm doesn't receive those calls. I don't know how to configure PhpStorm to "See" these requests so I can debug them.


Solution

  • Adding this line to the Php.ini solved my problem:

    [XDebug]
    ...
    ...
    ...
    xdebug.remote_autostart = 1