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

藏色散人
Release: 2023-02-15 20:09:30
forward
3369 people have browsed it

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
Copy after login

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"
```
Copy after login

Configure servers servers

127.0.0.1
8000
xdebug
Copy after login

Configure dbgp proxy

idekey PHPSTORM
host localhost
port 9000
Copy after login

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!

Related labels:
source:juejin.im
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template