我正在尝试将vdebug与 MacVim 和 xdebug 一起使用来调试代码。我通过自制软件安装了 MacVim 和 python,并安装了 xdebug 并与 MacGDBp 一起正常工作。
当我使用 F5 键在 vdebug 中收听并重新加载页面时(xdebug 远程自动启动已打开),我在 vdebug quickfix 窗口中收到 python 错误:
An error occured: <type 'exceptions.ImportError'>
Traceback (most recent call last):
File "/Users/mikedfunk/dotfiles/.vim/bundle/vdebug/plugin/python/start_vdebug.py", line 31, in run
self.runner.run()
File "/Users/mikedfunk/dotfiles/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 160, in run
self.open()
File "/Users/mikedfunk/dotfiles/.vim/bundle/vdebug/plugin/python/vdebug/runner.py", line 74, in open
raise e
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
我已经用谷歌搜索了一段时间,但找不到有效的解决方案。有任何想法吗?