无法停止 XDEBUG 会话

发布于 2024-10-29 00:40:29 字数 246 浏览 4 评论 0原文

我是 xdebug 的新手。 Netbeans 似乎连接得很好。远程连接到本地计算机上的虚拟机。 Remote_enable 已打开,zend_extension 是 xdebug 的绝对路径。我在浏览器中获取调试信息。但由于某种原因我无法关闭会话。 Netbeans 会说会话成功结束,但是我仍然从浏览器中的 xdebug 获取所有跟踪信息... 当我不调试时如何让 xdebug 消失。传递查询字符串来停止 xdebug 不会改变任何内容。

任何帮助表示赞赏

I'm new to xdebug. Netbeans seems to connect just fine. Connecting remote to a vm on my local machine. remote_enable is on and zend_extension is an absolute path to xdebug. I get my debug information in the browser. But for some reason I can't get the session to close. Netbeans will say the session ended successfully however I still get all the traces from xdebug in the browser...
How do I get xdebug to go away when I'm not debugging. Passing the query string to stop xdebug doesn't change anything.

Any help is appreciated

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

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

发布评论

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

评论(1

煮酒 2024-11-05 00:40:29

我相信这些痕迹只能在 php.ini 中修改。启动或停止调试不会影响跟踪的输出。如果您想停止 html 格式的异常调用堆栈,请参阅他们的页面: http://xdebug.org/docs/stack_trace 。通过快速阅读他们的网站,您似乎必须从 php.ini 文件中注释掉 xdebug 扩展名。

I believe the traces are only modifiable in your php.ini. Starting or Stopping debugging does not affect the output from traces. If you want to stop the html formatted exception call stacks, see their page: http://xdebug.org/docs/stack_trace. From quickly reading their site, it seems like you'd have to comment out the xdebug extension from the php.ini file.

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