Configure a debugging engine
IntelliJ IDEA supports debugging for PHP applications, classes, and files. The debugging functionality is incorporated in IntelliJ IDEA, you only need to configure its settings.
This section describes how to configure two most common PHP debugging engines:
These tools cannot be used simultaneously because they block each other. To avoid this problem, you need to update the corresponding sections in the php.ini file.
Install the PHP plugin
This functionality relies on the PHP plugin that should be installed and enabled in your IDE.
The plugin is available only in IntelliJ IDEA Ultimate.
Press Ctrl+Alt+S to open the IDE settings and select.
Switch to the Marketplace tab and use the search field to find the PHP plugin.
Click Install and restart the IDE if prompted.