文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>XDebug又能正常使用了

XDebug又能正常使用了

时间:2010-11-25  来源:功夫 熊猫

在Eclipse的XDebug的进度条会停在57%,显示"waiting for XDebug session".

在Google了一天之后终于找到一篇文章的一条评论中提到这个问题的解决方法:Link

上面写道:

I had problems getting xdebug to work and interact properly with Eclipse/PDT. I kept getting stuck at 57% with the message "waiting for XDebug session" in the progress window of Eclipse/PDT. Xdebug was configured to use port 9000.

It turns out the Checkpoint VPN-1 SecureClient, which is installed on my machine (a WinXP SP3 Windows box) also uses port 9000 and runs as a service. Therefore Eclipse/PDT could never open port 9000 for communication with the xdebug server. I noticed this using netstat -a -b, for those unfamiliar with how to see open ports on windows.

I ended up changing the port used by xdebug to something completely random and assigning that same port to Eclipse/PDT in the PHP -> Debug -> Installed Debuggers of the Preferences menu.

I hope this can help anyone else who is stuck with this very annoying problem.

 

我把我的XDebug端口改成19000之后,XDebug就能正常使用了~~

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载