小编18t*_*ter的帖子

Vdebug vim从未建立联系

我正在尝试调试以在VIM中使用Vdebug.Vdebug与Vundle一起安装,每当我尝试打开连接时,这就是我得到的:

Waiting for a connection (Ctrl-C to cancel, this message will self-destruct in 20 seconds...) Connection to the debugger has been closed

它甚至不会等待任何秒数.

知道这里发生了什么吗?

更新: 我已经解决了这个问题.我正在使用FPM运行PHP,它使用与xdebug相同的端口(9000).设置xdebug.remote_port=10000在php.ini,然后设置Vdebug端口选项:let g:vdebug_options['port']=10000在VIM固定这对我来说.现在我可以调试了!

php debugging vim plugins xdebug

5
推荐指数
0
解决办法
796
查看次数

标签 统计

debugging ×1

php ×1

plugins ×1

vim ×1

xdebug ×1