python tornado远程调试通过vagrant ERROR

时间:2016-12-28 11:18:12

标签: python windows vagrant pycharm remote-debugging

我使用的是win10,我想使用PyCharm远程调试我的项目。我相信我已正确配置它,因为我的项目按预期启动而无需调试。但是,当我尝试调试它时,我收到了这些错误:

ssh://vagrant@127.0.0.1:2222/usr/bin/python -u /home/vagrant/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support --client '0.0.0.0' --port 36711 --file /vagrant/main.py start daemon
Traceback (most recent call last):
  File "/home/vagrant/.pycharm_helpers/pydev/pydevd.py", line 26, in <module>
    from _pydevd_bundle.pydevd_additional_thread_info import PyDBAdditionalThreadInfo
  File "/home/vagrant/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_additional_thread_info.py", line 19, in <module>
    from _pydevd_bundle.pydevd_additional_thread_info_regular import PyDBAdditionalThreadInfo  # @UnusedImport
  File "/home/vagrant/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_additional_thread_info_regular.py", line 5, in <module>
    from _pydevd_bundle.pydevd_frame import PyDBFrame
  File "/home/vagrant/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_frame.py", line 16, in <module>
    from _pydevd_bundle.pydevd_frame_utils import add_exception_to_frame, just_raised
ImportError: cannot import name add_exception_to_frame

1 个答案:

答案 0 :(得分:0)

Pycharm:文件&gt;使缓存无效&gt;无效并重新启动 帮助过我。