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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
  • dongxiaolin2801 2016-10-30 08:59

    you need to turn on xdebug.remote_enable in php.ini, some installer overwrite the php.ini settings. Hope this help.




  • ¥15 gitee无效的源路径/URL
  • ¥15 问题描述:给定一个算术表达式,通过程序求出最后的结果
  • ¥15 spyder运行重复
  • ¥15 我用C语言easyx图形库绘制了一个3d游戏方框透视,但进入游戏时候鼠标准星对准方框边缘 鼠标光标就会弹出来这是啥情况怎样让光标对准绘制的方框点击鼠标不弹出光标好烦这样
  • ¥20 用Power Query整合的问题
  • ¥20 基于python进行多背包问题的多值编码
  • ¥15 相同型号电脑与配置,发现主板有一台貌似缺少了好多元器件似的,会影响稳定性和使用寿命吗?
  • ¥15 C语言:数据子序列基础版
  • ¥20 powerbulider 导入excel文件,显示不完整
  • ¥15 paddle训练自己的数据loss降不下去