douhao123457 2016-10-03 01:22
浏览 69
已采纳

Netbeans x PHP:XDebug不在OSX Sierra上工作

I just updated my Mac to Sierra and now XDebug does not work anymore in my Netbeans 8.0.2. When i click on 'Debut Project' button, the browser is loaded with my project, but my breakpoints does not work and the following message is shown on Netbeans bottom status bar :

Waiting For Connection (netbeans-xdebug)

Any hints how to fix this ? Everything was working fine before the update.

Thanks !

  • 写回答

2条回答 默认 最新

  • doubi4491 2016-10-05 01:24
    关注

    Yes, the same thing happened to me, and I wound up reinstalling xdebug, which required updating Xcode to 8.0.

    Sierra installs an updated version of PHP, so you'll probably have to reconfigure PHP.

    In my case, I had a separate version of PHP installed, so after updating xdebug, I pointed Apache at that version. Since it was already configured to use xdebug, I didn't have to do anything else.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?