• XDebug又能正常使用了


    两个月前还用得好好的XDebug,昨天忽然间就不能用了.

    在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就能正常使用了~~

  • 相关阅读:
    MyBatis代码自动生成
    英语单词--程序员专属
    动态规划小例子
    Dijkstra 算法
    矩阵变换
    (转)贝塞尔曲线
    山寨了@上位者的怜悯的样式= =
    HDU 1115 (计算多边形重心)
    HDU 1147(线段相交+链表)
    HDU 1276 (直接链表模拟)
  • 原文地址:https://www.cnblogs.com/kungfupanda/p/1887681.html
Copyright © 2020-2023  润新知