相关疑难解决方法(0)

pycharm调试器没有连接:KeyboardInterrupt

不知怎的,我的pycharm调试器不再连接了.

我测试了所有ENV.另外,在stackoverflow上读取它:我删除了.idea目录.

但是,重新启动pycharm后,始终会重新创建 .idea (删除缓存,甚至删除&downlaoded pycharm)

**/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 52281 --file /Users/franzi/Desktop/i18n/qordoba-cli/qordoba/cli.py i18n-find --traceback
warning: Debugger speedups using cython not found. Run '"/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6" "/Applications/PyCharm CE.app/Contents/helpers/pydev/setup_cython.py" build_ext --inplace' to build.
pydev debugger: process 96448 is connecting

Connected to pydev debugger (build 171.4694.67)
Could not connect to 127.0.0.1: 52282
Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1583, in <module>
    debugger.connect(host, port)
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 324, in connect …
Run Code Online (Sandbox Code Playgroud)

python debugging connection pycharm

7
推荐指数
1
解决办法
4269
查看次数

Python升级后,Pydev调试器在PyCharm中停止工作

我用PyCharm.我之前使用Python 3.3构建了pydev调试器 python /Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace.然后,我必须更新我的项目以在Python 3.5下使用新的虚拟环境,现在调试器将无法运行,并显示以下消息:

/<venv_path>/bin/python3.5 /Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py --multiproc --save-signatures --qt-support --client 127.0.0.1 --port 58286 --file /Applications/PyCharm.app/Contents/helpers/pycharm/pytestrunner.py -p pytest_teamcity <pytest_root> <options>
Testing started at 10:25 AM ...
pydev debugger: process 94521 is connecting

Connected to pydev debugger (build 163.8233.8)
Traceback (most recent call last):
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1596, in <module>
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 956, in run
    time.sleep(0.1)  # busy wait until we receive run command
KeyboardInterrupt
Run Code Online (Sandbox Code Playgroud)

我尝试setup_cython.py build_ext --inplace在更新的Python版本下重新运行,使我的缓存无效,重新启动,删除我的.idea …

pydev pycharm

1
推荐指数
1
解决办法
2305
查看次数

标签 统计

pycharm ×2

connection ×1

debugging ×1

pydev ×1

python ×1