Home >Development Tools >phpstorm >A brief analysis of how to use phpstorm to debug thinkphp6

A brief analysis of how to use phpstorm to debug thinkphp6

藏色散人
藏色散人forward
2023-02-15 11:06:253367browse

This article brings you relevant knowledge about PHPSTORM, which mainly introduces how to debug thinkphp6 with phpstorm. Let’s take a look at it together. I hope it will be helpful to friends in need.

A brief analysis of how to use phpstorm to debug thinkphp6

Start the program first

php think run

Modify phpini

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

Configure servers servers

127.0.0.1
8000
xdebug

Configure dbgp proxy

idekey PHPSTORM
host localhost
port 9000

Configure php web page

Note

1 Turn off your proxy and go to 127.0.0.1, which affects debugging

Recommended study: "phpstorm usage tutorial"

The above is the detailed content of A brief analysis of how to use phpstorm to debug thinkphp6. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:juejin.im. If there is any infringement, please contact admin@php.cn delete