在麦克塞拉:
我已经安装了php 7.1,并通过以下方式安装了xdebug:
brew安装php71 71-x调试
Xcode是8.0
php v3.1.0-dev,版权(c) 1988-2016年,版权所有,版权( -v组Zend v3.1.0-dev,版权(c) 1988-2016年,版权(c) 2002-2016
使用phpinfo(),我找不到任何写着xdebug的文本
我尝试了几个变体的php.ini文件:并重新启动了apache
[xdebug]
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1 # Not safe for production servers
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true更多细节可以在这里找到:https://bugs.xdebug.org/view.php?id=1354
发布于 2016-10-30 08:54:04
PHP7.1是当前不受xdebug支持的,(php版本<7.1)。您应该使用7.0,并且不要忘记打开xdebog.remote_enable
https://stackoverflow.com/questions/40054968
复制相似问题