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
- 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 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.
on the main menu. In the - To update the credentials, choose Xdebug Proxy dialog box, that opens, edit the IDE key, the host, and the port settings. on the main menu. In the
- To discard the current credentials, choose on the main menu.
- To register your IDE to the server choose Xdebug Proxy dialog box, that opens, specify the
Last modified: 24 July 2018