PhpStorm 9.0.0 Help

Multiuser Debugging via Xdebug Proxies

When using Xdebug, you can debug PHP applications in the multiuser mode via Xdebug proxy servers.

To enable multiuser debugging via an xdebug proxy server

  1. Open the active php.ini file in the editor:
    1. Open the Settings dialog box by choosing File | Settings, then click PHP under Languages & Frameworks. The PHP page opens.
    2. Click browseButton.png next to the Interpreter field.
    3. In the Interpreters dialog box that opens, the Configuration File read-only field shows the path to the active php.ini file. Click Open in Editor.
  2. Locate the xdebug.idekey setting and assign it a value of your choice.
  3. Configure access to the required Xdebug proxy server from your IDE:
    • To register your IDE to the server choose Tools | Xdebug Proxy | Register IDE on the main menu. In the Xdebug Proxy dialog box, that opens, specify the xdebug.idekey, the host on which the Xdebug proxy server resides, and the port which PhpStorm will listen to during a proxy debugging session.

      When you click OK, PhpStorm connects to the specified proxy server and sends the specified credentials. The server registers the credentials and sends a confirmation.

    • To update the credentials, choose Tools | Xdebug Proxy | Configuration on the main menu. In the Xdebug Proxy dialog box, that opens, edit the IDE key, the host, and the port settings.
    • To discard the current credentials, choose Tools | Xdebug Proxy | Cancel IDE Registration on the main menu.

See Also

Last modified: 2 July 2015