Linux vdebug-vim:不工作

Linux vdebug-vim:不工作,linux,vim,xdebug,Linux,Vim,Xdebug,我正在使用archlinux并安装了gvim和python。然后在vim中使用vundle,安装vim的插件vdebug 在过去的一年中,我使用vdebug非常成功地调试了很多php代码。从昨天开始,我突然在vim中发现以下错误 确切顺序: 我使用vim打开index.php 按F5。底部显示等待连接的(Ctrl-C取消,此消息将在20秒内自毁… 然后转到我的浏览器并刷新链接: 通常在此之后,调试开始。但从昨天起,一切都没有发生。它不断显示等待连接的(Ctrl-C取消,此消息将在20秒内自毁…因

我正在使用archlinux并安装了gvim和python。然后在vim中使用vundle,安装vim的插件vdebug

在过去的一年中,我使用vdebug非常成功地调试了很多php代码。从昨天开始,我突然在vim中发现以下错误

确切顺序:

我使用vim打开index.php

按F5。底部显示等待连接的
(Ctrl-C取消,此消息将在20秒内自毁…

然后转到我的浏览器并刷新链接:

通常在此之后,调试开始。但从昨天起,一切都没有发生。它不断显示等待连接的
(Ctrl-C取消,此消息将在20秒内自毁…
因此,在一段时间后40秒,如果我键入enter,它将显示输出1。后来我再次关闭终端并运行所有步骤,除了此时间类型ctrl+c而不是enter,它显示output2

    Error detected while processing :
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
        self.runner.run()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
        self.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 47, in open
        self.ui.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 52, in open
        self.watchwin.create()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 337, in create
        vim.command('silent ' + self.open_cmd + ' ' + self.name)
    KeyboardInterrupt
输出1

    Waiting for a connection (Ctrl-C to cancel, this message will self-destruct in  20  seconds...)
    An error occured: <class 'vim.error'>
    Traceback (most recent call last):
      File "/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
        self.runner.run()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
        self.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 47, in open
        self.ui.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 75, in open
        raise e
    error: Vim(new):E325: ATTENTION
等待连接(Ctrl-C取消,此消息将在20秒内自毁…)
发生了一个错误:
回溯(最近一次呼叫最后一次):
文件“/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py”,第31行,运行中
self.runner.run()
文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py”,第160行,运行中
self.open()
打开文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py”,第47行
self.ui.open()
打开文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py”,第75行
提高e
错误:Vim(新):E325:注意
输出2

    Error detected while processing :
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
        self.runner.run()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
        self.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 47, in open
        self.ui.open()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 52, in open
        self.watchwin.create()
      File "/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py", line 337, in create
        vim.command('silent ' + self.open_cmd + ' ' + self.name)
    KeyboardInterrupt
处理时检测到错误: 回溯(最近一次呼叫最后一次): 文件“”,第1行,在 文件“/home/simha/.vim/bundle/vdebug/plugin/python/start_vdebug.py”,第31行,运行中 self.runner.run() 文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py”,第160行,运行中 self.open() 打开文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/runner.py”,第47行 self.ui.open() 打开文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py”,第52行 self.watchwin.create() 文件“/home/simha/.vim/bundle/vdebug/plugin/python/vdebug/ui/vimui.py”,第337行,在create中 vim.command('silent'+self.open_cmd+''+self.name) 键盘中断
我发现有一个交换文件.Debugger.swp,因为该文件,dedugger无法工作。我已经删除了那个文件。它开始工作了

此外,vdebug生成的任何其他swp文件也将被删除