I installed php70 and php70-xdebug using brew.
brew install php70
brew install php70-xdebug
php -v returns this error:
Cannot load Xdebug - it was built with configuration API320151012,NTS, whereas running engine is API320151012,NTS,debug
I can't figure out how to pass --disable-debug to the compiler, brew uses preconfigured formula (https://github.com/Homebrew/homebrew-php), and doesn't allow to set this option.
The problem is: xdebug formula has --disable-debug, and php70 formula has an option --with-debug, but even if you don't use this argument, it appends --enable-debug to the configure command.