Profiler PhpStorm Symfony

How can I make symfony profiler work in phpstorm? It should be in the status bar, but when I open this window, it always says: "Nothing here." Cache dirs are correctly defined in the configuration, the symfony module itself works fine. But the profiler never shows information.

PhpStorm: 8.0.3, Symfony plugin: 0.11.92

+8
php phpstorm symfony
source share
1 answer

Profiler entries are automatically retrieved from your cache (i.e. from app/cache/dev/profiler/index.csv ).

  • Make sure you use the server in dev env. Profile is collected only in dev mode

  • Make sure the file exists in your local code.

Are you running symfony on the same machine where the phpstorm code is located? If not, you must configure phpstorm deployment to automatically retrieve the cache from the remote host.

  1. Make sure you have a website profiler for symfony (included in your AppKernel and with configuration)

http://symfony.com/doc/current/reference/configuration/web_profiler.html

 web_profiler: toolbar: true 
+2
source share

All Articles