Fra*_*nzi 7 python debugging connection pycharm
不知怎的,我的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**
Run Code Online (Sandbox Code Playgroud)
izk*_*ros 15
我有类似的问题.我删除了(删除,而不是禁用)所有现有断点(在Ctrl+ Shift+ 调用的对话框中F8).删除所有断点并修改运行配置(禁用添加内容根并将源根添加到PYTHONPATH)后,调试开始起作用.使它们恢复正常并仍然正常工作 - 问题消失了.
我认为删除断点足以解决问题.请参阅JetBrains社区的提示:https: //intellij-support.jetbrains.com/hc/en-us/community/posts/115000014004/comments/115000239630
归档时间: |
|
查看次数: |
4269 次 |
最近记录: |