美文网首页
phpstrom (xdebug)远程断点调试 homestea

phpstrom (xdebug)远程断点调试 homestea

作者: pltrue | 来源:发表于2018-12-09 21:37 被阅读0次

1.本地调试可以参考:https://www.cnblogs.com/LWMLWM/p/8251905.html
2.远程调试:主要是在虚拟机上如何进行

1)打开xshell ->file->open->
image.png
设置
用户:root
密码:root
2)远程调试->属性->隧道->
image.png
3)进入虚拟机
vagrant@homestead:~$
4)open phpstrom ->languages&&frameworks->php debug
image.png
5)opne phpstrom->lanuages&&frameworks->php->servers
image.png

依次是:name->larabss(可随意) 文件对应的域名(larabss.test)


image.png

5)如果报错如下

6)此为文目录映射问题 点击->第二个报错 修改其入口文件目录
image.png

7)最后ok!!!

image.png

相关文章

网友评论

      本文标题:phpstrom (xdebug)远程断点调试 homestea

      本文链接:https://www.haomeiwen.com/subject/vinkhqtx.html