Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm Symfony profiler

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

PhpStorm: 8.0.3, Symfony plugin: 0.11.92

like image 636
Hast Avatar asked Jun 09 '15 15:06

Hast


Video Answer


1 Answers

Profiler records are automatically picked up from your cache (i.e from app/cache/dev/profiler/index.csv).

  1. Ensure you are running server in dev env. The profile is collected only in dev mode

  2. Check that file exist within your local code.

Do you run the symfony on the same machine that you phpstorm code is located? If no you should condfigure the phpstorm deployment to fetch the cache from remote host for you automatically.

  1. Ensure you have web profiler enabled for symfony (enabled in your AppKernel and with config)

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

web_profiler:
  toolbar: true
like image 161
ScayTrase Avatar answered Oct 12 '22 09:10

ScayTrase