mac phpStorm配置debugger
2021-02-01 本文已影响0人
朱传武
phpinfo查看当前php相关信息
<?php
phpinfo();
另存为index.php,修改httped.conf文件:

访问index.php:
http://localhost:83/

匹配xdebuger版本
前往http://xdebug.org/wizard.php,在输入框里面输入phpinfo所有源码

安装xdebugger
输入你的phpinfo源码之后,它会自动判断你需要安装的版本以及相关配置步骤,如下图

配置php.ini

重启apache服务器
sudo apachectl -k restart
配置phpStorm



