• 技术文章 >开发工具 >phpstorm

    简析如何使phpstorm调试thinkphp6

    藏色散人藏色散人2023-02-15 20:09:30转载430

    本篇文章给大家带来了关于PHPSTORM的相关知识,其中主要介绍了phpstorm怎么调试thinkphp6,下面一起来看一下,希望对需要的朋友有所帮助。

    先启动程序

    php think run

    修改phpini

    ```
    xdebug.remote_host=localhost
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.remote_autostart=1
    xdebug.remote_enable=On
    xdebug.ideakey="PHPSTORM"
    ```

    配置服务器 servers

    127.0.0.1
    8000
    xdebug

    配置dbgp proxy

    idekey PHPSTORM
    host localhost
    port 9000

    配置 php web page

    注意

    1 关闭你的代理 走了127.0.0.1 影响调试

    推荐学习:《phpstorm使用教程

    以上就是简析如何使phpstorm调试thinkphp6的详细内容,更多请关注php中文网其它相关文章!

    声明:本文转载于:juejin,如有侵犯,请联系admin@php.cn删除
    专题推荐:PHPStorm
    上一篇:图文详解PHPSTORM Xdebug的配置使用 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • 快速了解PhpStorm 2022.1新特性:增强的阵列形状• 重大更新!PhpStorm 2022.3 发布啦!• 图文详解PHPStorm实现自动执行代码格式化• PHPSTORM常用快捷键汇总(经验总结)• 图文详解PHPSTORM Xdebug的配置使用
    1/1

    PHP中文网