首頁  >  文章  >  php框架  >  怎麼使用phpstorm調試thinkphp6

怎麼使用phpstorm調試thinkphp6

PHPz
PHPz轉載
2023-05-29 16:04:461286瀏覽

先啟動程式

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

修改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>

設定伺服器 servers

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

設定dbgp proxy

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

設定php web page

注意

#關閉你的代理商走了127.0.0.1 影響調試

以上是怎麼使用phpstorm調試thinkphp6的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:yisu.com。如有侵權,請聯絡admin@php.cn刪除