Home  >  Article  >  PHP Framework  >  How to use phpstorm to debug thinkphp6

How to use phpstorm to debug thinkphp6

PHPz
PHPzforward
2023-05-29 16:04:461288browse

Start the program first

<code>php think run<br/></code>

Modify phpini

<code>```<br/>xdebug.remote_host=localhost<br/>xdebug.remote_port=9000<br/>xdebug.remote_handler=dbgp<br/>xdebug.remote_autostart=1<br/>xdebug.remote_enable=On<br/>xdebug.ideakey="PHPSTORM"<br/>```<br/></code>

Configure servers servers

<code>127.0.0.1<br/>8000<br/>xdebug<br/></code>

Configure dbgp proxy

<code>idekey PHPSTORM<br/>host localhost<br/>port 9000<br/></code>

Configure php web page

Note

Close your proxy and leave 127.0.0.1 affecting debugging

The above is the detailed content 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:yisu.com. If there is any infringement, please contact admin@php.cn delete