我正在尝试为NetBeans安装Xdebug . 我在PHP中使用MAC和编码 . 我可以看到xdebug.so出现在

/Applications/MAMP/bin/php/php7.0.2/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so

php.ini设置是:

[xdebug]
zend_extension="/Applications/MAMP/bin/php/php7.0.2/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"
xdebug.default_enable=1
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"

NetBeans也在端口9000上侦听 . 但每次启动调试器时都会显示Waiting for Connection(netbeans-debug)

phpinfo() 没有提到xdebug ......为什么这个尽管xdebug.so存在?

我该如何工作?