首页 > 文章列表 > 使用PHPStorm调试ThinkPHP 6的方法

使用PHPStorm调试ThinkPHP 6的方法

phpstorm ThinkPHP
245 2024-10-06

先启动程序

php think run

修改phpini

```xdebug.remote_host=localhostxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.remote_autostart=1xdebug.remote_enable=Onxdebug.ideakey="PHPSTORM"```

配置服务器  servers

127.0.0.18000xdebug

配置dbgp proxy

idekey PHPSTORMhost localhostport 9000

配置 php web page

注意

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