美文网首页
mac phpStorm配置debugger

mac phpStorm配置debugger

作者: 朱传武 | 来源:发表于2021-02-01 11:45 被阅读0次

    phpinfo查看当前php相关信息

    <?php
    phpinfo();
    

    另存为index.php,修改httped.conf文件:

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

    匹配xdebuger版本

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

    image.png

    安装xdebugger

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


    image.png

    配置php.ini

    image.png

    重启apache服务器

    sudo apachectl -k restart
    

    配置phpStorm

    image.png image.png
    image.png
    image.png

    相关文章

      网友评论

          本文标题:mac phpStorm配置debugger

          本文链接:https://www.haomeiwen.com/subject/rojjtltx.html