zoukankan      html  css  js  c++  java
  • 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就能正常使用了~~

  • 相关阅读:
    十七、oracle 权限
    九、oracle 事务
    十六、oracle 索引
    十九、oracle pl/sql简介
    二十二、oracle pl/sql分类二 函数
    通过HttpURLConnection模拟post表单提交
    八、oracle 分页
    二十一、oracle pl/sql分类一 存储过程
    xStream框架操作XML、JSON
    二十、oracle pl/sql基础
  • 原文地址:https://www.cnblogs.com/kungfupanda/p/1887681.html
Copyright © 2011-2022 走看看