PhpStorm 2017.1 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 / Preferences Dialog by pressing Ctrl+Alt+S or by choosing File | Settings for Windows and Linux or PhpStorm | Preferences for macOS, and click PHP under Languages & Frameworks.
    2. On the PHP page that opens, click browseButton.png next to the CLI Interpreter field.
    3. In the CLI 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: 19 July 2017