Home >Development Tools >phpstorm >A brief analysis of how to use phpstorm to debug thinkphp6
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.
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!