zend studio + xdebug +firefox的xdebug插件, profiling无效

发布于 2021-11-18 17:54:53 字数 667 浏览 779 评论 2

zend studio + xdebug +firefox的xdebug插件。 想对脚本进行profiling,看看性能。
但是zend studio就是没反应(不切换到profiling窗口, 窗口里空空如也。)。

xdebug配置
xdebug.remote_enable = On;
xdebug.remote_host = "localhost";
xdebug.remote_port= 9001;
xdebug.remote_handler = "dbgp";
xdebug.profile_enable = 0;
xdebug.profiler_enable_trigger = 1;
xdebug.profiler_output_dir = D:php54profile

用firebug的请求头发现cookie已经包含 XDEBUG_PROFILE=1
并且检查D:php54profile 里面也已经有xdebug生成的profiling文件 

所以怀疑是zend studio的配置问题。 但找不到解决办法。

有人解决过这种问题么?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

空城仅有旧梦在 2021-11-23 21:46:05

那个,php需要调试么?我以前也学过xdebug的用法,不过我也是完成了几个大型web项目,貌似都是不需要调试的,凭经验跟错误提示看的出来啊

狠疯拽 2021-11-20 11:57:07

zend debugger支持5.4么?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文