我的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
self.initialize_network(s)
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 316, in initialize_network
time.sleep(0.1) # give threads time to start
KeyboardInterrupt
Process finished with exit code 1**
答案 0 :(得分:15)
我有类似的问题。我已删除(删除,不禁用)所有现有断点(在 Ctrl + Shift + F8 调用的对话框中)。删除所有断点并修改运行配置(禁用添加内容根并将源根添加到PYTHONPATH)后,调试开始起作用。使它们恢复正常并且仍然正常工作 - 问题消失了。
我认为删除断点足以解决问题。请参阅JetBrains社区的提示: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000014004/comments/115000239630