使用 brew install php72-xdebug 无法找到资源 使用pecl install xdebug 就可以了。 转载于:https://www.cnblogs.com/joystrong/p/9056637.html