找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索本站精品资源

首页 教程频道 php教程 查看内容

怎么使用phpstorm调试thinkphp6

作者:模板之家 2023-5-29 16:04 82人关注

先启动程序phpthinkrun修改phpini```xdebug.remote_host=localhostxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.remote_autostart=1xdebug.remote_enable=Onxdebug.ideakey=PHPSTORM```配置服务器serve ...

先启动程序

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

注意

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

以上就是怎么使用phpstorm调试thinkphp6的详细内容,更多请关注模板之家(www.mb5.com.cn)其它相关文章!


路过

雷人

握手

鲜花

鸡蛋
来自: 网络收集

全部回复(0)