有没有适用于PHP的IDE (基于linux)可用于调试?或者任何人都可以帮助我配置eclipse的调试属性/设置?现在我使用的是ubuntu 9.04。我尝试过调试,但没有尝试过配置,因为我不知道如何配置它。你能告诉我确切的路线吗?请帮帮我。
发布于 2009-09-10 20:38:49
我使用带有xdebug & xdebug helper firefox扩展的ActiveState Komodo IDE5。
**您可以在任何支持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=然后,在preferences->languages->php中,浏览调试器向导。接下来,您必须在Komodo IDE中的Debug下拉菜单中打开"listen for Debug connections“。
设置xdebug helper firefox addon并在其配置对话框中输入调试服务器所需的信息,重启firefox并单击右下角的图标,开始在页面上使用xdebug。
发布于 2009-09-10 18:53:58
我推荐使用Xdebug的Eclipse PDT。
发布于 2009-09-10 20:29:42
您还可以尝试使用Aptana (基于Eclipse)或NetBeans。
使用NetBeans和PHP非常简单。您可以遵循此tutorial
https://stackoverflow.com/questions/1407017
复制相似问题