是否有任何可用于调试的 PHP IDE(基于 Linux)?或者任何人都可以帮助我配置 Eclipse 的调试属性/设置?现在我使用的是 ubuntu 9.04。我尝试调试但没有尝试配置,因为我不知道如何配置它。你能告诉我确切的方法吗?请帮我。
4 回答
1
我使用带有 xdebug 和 xdebug 助手 firefox 扩展的 ActiveState Komodo IDE 5。
** 您可以将以下大部分信息用于任何支持 xdebug 的 IDE **
您需要将 xdebug 信息添加到您的 php.ini。
[xdebug]
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.extended_info=1
xdebug.idekey=
然后,在首选项-> 语言-> php 中,通过调试器向导。接下来,您必须在 Komodo IDE 中的“调试”下拉菜单下打开“侦听调试连接”。
设置xdebug helper firefox 插件并在其配置对话框中为您的调试服务器输入所需的信息,重新启动 firefox 并单击右下角的图标以开始在页面上使用 xdebug。
于 2009-09-10T20:38:49.313 回答
0
我推荐带有Xdebug的Eclipse PDT。
于 2009-09-10T18:53:58.393 回答
0
我正在使用带有 xdebug 的 PHPStorm。效果很好:)
于 2011-10-12T06:33:10.823 回答