Multiuser Debugging via Xdebug Proxies
This feature is supported in the Ultimate edition only.
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
- Open the active
php.ini
file in the editor:- Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing for Windows and Linux or for macOS, and click PHP under Languages & Frameworks.
- On the PHP page that opens, click
next to the CLI Interpreter field.
- 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.
- Locate the
xdebug.idekey
setting and assign it a value of your choice. - Configure access to the required Xdebug proxy server from your IDE:
- To register your IDE to the server choose 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 IntelliJ IDEA will listen to during a proxy debugging session.When you click OK, IntelliJ IDEA 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 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 on the main menu.
- To register your IDE to the server choose on the main menu. In the Xdebug Proxy dialog box, that opens, specify the
See Also
Procedures:
Reference:
Last modified: 18 July 2017