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 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn