简析如何使phpstorm调试thinkphp6

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

简析如何使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

立即学习PHP免费学习笔记(深入)”;

127.0.0.1 8000 xdebug

配置dbgp proxy

idekey PHPSTORM host localhost port 9000

配置 php web page

注意

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

推荐学习:《phpstorm使用教程

以上就是简析如何使

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享