php - 我想在 PhpStorm 中使用 Xdebug 分析
问题描述
环境
- Windows 10 家庭版
- 当地的
- PHP 7.4
- PhpStorm 2021.2
- Xdebug 3
问题
我想在我自己的应用程序中使用 Xdebug 进行分析。
我做了以下设置。
- php.ini:
xdebug.mode = profile;
xdebug.start_with_request = trigger;
我将 Xdebug helper 设置更改为 profiler
按调试按钮(在 PhpStorm 中)
结果
未创建 cachegrind 文件。
如何创建缓存研磨文件?
解决方案
推荐阅读
- linux - 等待一个命令执行,然后再执行下一个?
- python - 如何使用 Scrapy 在线解析 PDF 页面?
- python - 试图为学校制作一个简单的棋盘
- c++ - 为什么从文件中获取图标时应用程序有时会崩溃?
- python - np.loadtxt 与 np.fromfile
- php - PHP MySQL 设置/配置表调用值
- matlab - 查找在matlab中的数组或矩阵范围内计算的最小值或最大值的索引
- spring-boot - 有没有办法使用 JPA 从子实体中删除实体?
- c - 我在 C 代码中遇到有关获取函数和缓冲区堆的错误
- c# - Dotnet Core MVC - 仅将操作过滤器应用于特定控制器