

To disable the Zend Debugger and Zend Optimizer tools, which block Xdebug, remove or comment out the following lines in the php.ini file:Ĭonfigure Xdebug in IntelliJ IDEA Check Xdebug installation In the CLI Interpreters dialog that opens, the Configuration file read-only field shows the path to the active php.ini file. On the PHP reference page that opens, click next to the CLI Interpreter field.

In the Settings dialog ( Ctrl+Alt+S), click PHP under Languages & Frameworks. Open the active php.ini file in the editor: Integrate Xdebug with the PHP interpreter Refer to the instructions specific for your package. If you are using an AMP package, the Xdebug extension may be already installed. To learn more on upgrading to Xdebug 3, see the Upgrade guide. Xdebug 3 brings performance improvements, simplified configuration, and PHP 8 support. Open the Marketplace tab, find the PHP plugin, and click Install (restart the IDE if prompted).ĭownload the Xdebug extension compatible with your PHP version and install it as described in the Xdebug installation guide. 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.
