phpstorm 8.0.3 xdebug 2.3+

phpstorm 8.0.3 xdebug 2.3+

phpstorm 8.0.3 是否支持 xdebug 2.3+ 的性能分析?

[xdebug]
zend_extension = "/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_enable=1
xdebug.remote_port="9000"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="</home/karborator/tmp/profiling>"
xdebug.profiler_enable_trigger=1

当我尝试使用 Chrome 扩展 xdebug 助手开始分析时没有任何反应。

如果配置正确,您应该在分析请求后在 xdebug.profiler_output_dir 中获得一个 cachegrind 文件。

这几乎就是 PHPStorm 当前支持的整个分析集成。 您无法使用 PhpStorm 可视化存储在此文件中的数据。

在 Linux 系统上,您可以使用 KCacheGrind 查看和分析输出的分析报告。