当前位置: 首页 > 新闻动态 > 技术教程

怎么使用phpstorm调试thinkphp6

作者:PHPz 浏览: 发布日期:2023-05-29
[导读]:先启动程序phpthinkrun修改phpini```xdebug.remote_host=localhostxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.remote_autostart=1xdebug.remote_enable=Onxdebug.ideakey="PHPSTORM"```配置服务器servers127.0.0.18000xdebug配置dbgpproxyidekeyPHPSTO

先启动程序

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 影响调试

免责声明:转载请注明出处:http://m.lexweb.cn/news/749391.html

扫一扫高效沟通

多一份参考总有益处

免费领取网站策划SEO优化策划方案

请填写下方表单,我们会尽快与您联系
感谢您的咨询,我们会尽快给您回复!