具有Vagrant的XDebug的PhpStorm映射

时间:2019-03-17 08:39:54

标签: vagrant phpstorm xdebug

我尝试使用PhpStorm + Vagrant + XDebag调试项目。而且我在事件日志中看到消息:

  

调试会话已完成,没有被暂停。   这可能是由于配置错误的映射或本地和远程项目未同步引起的。

但是,如果启用了“ PHP脚本中的第一行中断”选项,则会看到调试已到达代码的特定部分(如下屏幕),然后停止: enter image description here

  

**正在等待传入连接密钥键“ 17265”。

我阅读了几篇文章,但没有找到适合我的解决方案。

我的项目的映射:

  • 本地路径-/ home / pol / Projects / serialsnote(我在PhpStorm中的项目)
  • 部署路径-/ home / pol / Boxes / lamp / project(无用文件夹)
  • Web路径-192.168.10.10/(服务器/ var / www / html上的绝对路径)

项目设置:

部署: enter image description here enter image description here

PHP(项目配置): enter image description here

设置服务器: enter image description here

P.S。屏幕调试验证 enter image description here

0 个答案:

没有答案