首页 > 解决方案 > 我想在 PhpStorm 中使用 Xdebug 分析

问题描述

环境

问题

我想在我自己的应用程序中使用 Xdebug 进行分析。

我做了以下设置。

  1. php.ini:
xdebug.mode = profile;
xdebug.start_with_request = trigger;
  1. 我将 Xdebug helper 设置更改为 profiler

  2. 按调试按钮(在 PhpStorm 中)

结果

未创建 cachegrind 文件。

如何创建缓存研磨文件?

标签: phpphpstormxdebugxdebug-3

解决方案


推荐阅读