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, which you need to install and enable.
Press Ctrl+Alt+S to open the IDE settings and select.
Open the Marketplace tab, find the PHP plugin, and click Install (restart the IDE if prompted).