delphirules delphirules - 1 month ago 29
PHP Question

Netbeans x PHP : XDebug not working on 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 !

Answer

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.

Comments