首頁  >  文章  >  開發工具  >  簡析如何使phpstorm調試thinkphp6

簡析如何使phpstorm調試thinkphp6

藏色散人
藏色散人轉載
2023-02-15 11:06:253235瀏覽

這篇文章為大家帶來了關於PHPSTORM的相關知識,其中主要介紹了phpstorm怎麼調試thinkphp6,下面一起來看一下,希望對需要的朋友有所幫助。

簡析如何使phpstorm調試thinkphp6

先啟動程式

php think run

修改phpini

```
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_autostart=1
xdebug.remote_enable=On
xdebug.ideakey="PHPSTORM"
```

設定伺服器 servers

127.0.0.1
8000
xdebug

設定dbgp proxy

idekey PHPSTORM
host localhost
port 9000

設定php web page

########################注意#########1 關閉你的代理商走了127.0.0.1 影響調試######推薦學習:《###phpstorm使用教學###》#######

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

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