xdebug 可以分析选定的目录吗?

发布于 2024-12-15 13:45:04 字数 170 浏览 5 评论 0原文

我正在尝试设置 xdebug 进行分析,似乎 xdebug 检测到的所有文件都位于 /var/lib64 下。我需要对 /var/www/ 下的文件进行分析。有没有什么参数可以配置这个?我们可以为需要分析的代码选择多个目录吗?

我正在使用 webgrind 查看此输出,但 xdebug 无法提供正确的文件:(

I am trying to set up xdebug for profiling and it seems all the files xdebug detects are under /var/lib64. I need to have files under /var/www/ to be profiled. Is there any parameter to configure this? Can we select multiple directories for code that needs to be profiled?

I am using webgrind to look at this output, and xdebug isn't able to provide with the right files :(

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文