IntelliJ IDEA 2023.1 Help

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, which you need to install and enable.

  1. Press Control+Alt+S to open the IDE settings and select Plugins.

  2. Open the Marketplace tab, find the PHP plugin, and click Install (restart the IDE if prompted).

Last modified: 21 June 2023