本篇文章給大家?guī)砹岁P(guān)于PHPSTORM的相關(guān)知識(shí),其中主要介紹了phpstorm怎么調(diào)試thinkphp6,下面一起來看一下,希望對需要的朋友有所幫助。
先啟動(dòng)程序
php think run
登錄后復(fù)制
修改phpini
``` xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_autostart=1 xdebug.remote_enable=On xdebug.ideakey="PHPSTORM" ```
登錄后復(fù)制
配置服務(wù)器 servers
127.0.0.1 8000 xdebug
登錄后復(fù)制
配置dbgp proxy
idekey PHPSTORM host localhost port 9000
登錄后復(fù)制
配置 php web page
注意
1 關(guān)閉你的代理 走了127.0.0.1 影響調(diào)試
推薦學(xué)習(xí):《phpstorm使用教程》