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

How to use phpstorm to debug thinkphp6

PHPz
Release: 2023-05-29 16:04:46
forward
1317 people have browsed it

Start the program first

<code>php think run<br/></code>
Copy after login

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

Configure servers servers

<code>127.0.0.1<br/>8000<br/>xdebug<br/></code>
Copy after login

Configure dbgp proxy

<code>idekey PHPSTORM<br/>host localhost<br/>port 9000<br/></code>
Copy after login

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!

Related labels:
source:yisu.com
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