php XDebug 还是 Zend 调试器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2855143/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 07:55:42  来源:igfitidea点击:

XDebug or Zend Debugger?

phpdebugging

提问by wamp

It seems to me that they have both the same function set, but I'm not sure.

在我看来,它们具有相同的功能集,但我不确定。

What are the differences in functionality between the two?

两者在功能上有什么区别?

回答by ford

Zend debugger is only available in binary format, so you need to be careful to download the right version to match your version of php ( http://downloads.zend.com/pdt/server-debugger/). I was able to get it working with Eclipse PDT and do line-by-line debugging with a local XAMPP installation. I think Zend has some additional features, but in my experience it has been easier to set up.

Zend 调试器仅以二进制格式提供,因此您需要小心下载正确的版本以匹配您的 php 版本 ( http://downloads.z​​end.com/pdt/server-debugger/)。我能够让它与 Eclipse PDT 一起工作,并使用本地 XAMPP 安装进行逐行调试。我认为 Zend 有一些附加功能,但根据我的经验,它更容易设置。

XDebug is much more open, but I haven't successfully configured it to work with Eclipse PDT.

XDebug 更加开放,但我还没有成功地将它配置为与 Eclipse PDT 一起使用。

回答by Bernd Ott

XDebug works with Eclipse and with Netbeans (and some other ide's).

XDebug 适用于 Eclipse 和 Netbeans(以及其他一些 ide)。

ZendDebug doesn't work with Netbeans. ZendDebug is already configured in ZendServer.

ZendDebug 不适用于 Netbeans。ZendDebug 已在 ZendServer 中配置。