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.
In IntelliJ IDEA, the JavaScript debugger works out of the box and in most cases its default settings are sufficient. If necessary, you can configure the debugger as described in Configuring JavaScript debugger.
IntelliJ IDEA supports debugging client-side applications running on the built-in or an external web server. Debugging of JavaScript code is only supported in Google Chrome and in other Chromium-based browsers.
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.