简析如何使phpstorm调试thinkphp6

 3435

本篇文章给大家带来了关于PHPSTORM的相关知识,其中主要介绍了phpstorm怎么调试thinkphp6,下面一起来看一下,希望对需要的朋友有所帮助。


简析如何使phpstorm调试thinkphp6


先启动程序

  1. php think run

修改phpini

  1. ```
  2. xdebug.remote_host=localhost
  3. xdebug.remote_port=9000
  4. xdebug.remote_handler=dbgp
  5. xdebug.remote_autostart=1
  6. xdebug.remote_enable=On
  7. xdebug.ideakey="PHPSTORM"
  8. ```

配置服务器 servers

  1. 127.0.0.1
  2. 8000
  3. xdebug

配置dbgp proxy

  1. idekey PHPSTORM
  2. host localhost
  3. port 9000

配置 php web page

注意

关闭你的代理 走了127.0.0.1 影响调试


TAG标签:
本文网址:https://www.zztuku.com/detail-13849.html
站长图库 - 简析如何使phpstorm调试thinkphp6
申明:本文转载于《掘金》,如有侵犯,请 联系我们 删除。

评论(0)条

您还没有登录,请 登录 后发表评论!

提示:请勿发布广告垃圾评论,否则封号处理!!

    编辑推荐

    免费商用字体-桦源黑体下载