This feature is supported in Ultimate edition only.
The following is only valid when PHP Plugin is installed and enabled!
When using Xdebug, you can debug PHP applications in the multiuser mode
via Xdebug proxy
servers.
- Open the active
php.inifile in the editor:- Open the Settings / Preferences Dialog by pressing Ctrl+Alt+S or by choosing for Windows and Linux or for OS X, 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.inifile. Click Open in Editor.
-
Locate the
xdebug.idekeysetting 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