PhpStorm 2021.1 Help

Templates

File | Settings | PHP | Debug | Templates for Windows and Linux
PhpStorm | Preferences | PHP | Debug | Templates for macOS
Ctrl+Alt+S
the Settings button

The page is available only when the PHP plugin is enabled. The PHP plugin is bundled with PhpStorm and activated by default. If the plugin is disabled, enable it on the Installed tab of the Settings/Preferences | Plugins page, as described in Managing plugins.

On this page, provide the path to the compiled templates cache folders to enable debugging of Twig and Blade templates.

ItemDescription
Blade Debug Area

Cache path: in this field, provide the path to the Blade compiled templates cache folder. Type the path manually or click the Browse button and select the relevant folder in the dialog that opens.

Twig Debug Area

Cache path: in this field, provide the path to the Twig compiled templates cache folder. Type the path manually or click the Browse button and select the relevant folder in the dialog that opens.

Last modified: 08 March 2021