Start the DBGp proxy either on the web server or on a machine that can communicate both with the web server and all developer machines. We can install the proxy on the web server, on a machine in the same network, or a machine accessible via an SSH tunnel.ĭownload the dbgpProxy executable file for your platform on the DBGp Proxy Tool downloads page. To be able to start a debugging session, you'll need to have a DBGp proxy running on a server that can be reached by the web server itself as well as all developer machines. Open the Marketplace tab, find the PHP plugin, and click Install (restart the IDE if prompted).Ĭonfigure multiuser debugging via an Xdebug proxy (DBGp) server Download and install a DBGp proxy Press Ctrl+Alt+S to open the IDE settings and select Plugins. The PHP plugin is available only in IntelliJ IDEA Ultimate. This functionality relies on the PHP plugin, which you need to install and enable. Each developer has a separate debugging session running over this proxy, which makes it possible to do multi-user debugging of the same code on the same server. ![]() All developers in the team, in turn, then connect to that proxy. When a proxy is used, the PHP Xdebug extension no longer connects to IntelliJ IDEA directly, but instead connects to the DBGp proxy server. To debug PHP applications in multiuser environments, Xdebug offers a so-called DBGp proxy. Xdebug only supports connecting to a single IP address, and does not automatically connect back to the IP address that runs the browser because of security reasons. IntelliJ IDEA accepts this connection and can communicate with Xdebug over it. When you start a debugging session, the Xdebug extension connects to the IP address IntelliJ IDEA is running at, specified as the xdebug.remote_host (for Xdebug 2) or xdebug.client_host (for Xdebug 3) value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |