douwei2966 2015-06-09 15:26
浏览 64

PhpStorm Symfony剖析器

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

  • 写回答

1条回答 默认 最新

  • duanji1924 2016-09-23 19:23
    关注

    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
    
    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料