不知怎的,我的pycharm
調試器不再連接。pycharm調試器未連接:KeyboardInterrupt
我測試了所有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**
你能描述一下你是如何啓動調試器(聽起來像是一個'遠程調試器'),並導致它停止工作? – nanotek
只需在右上角推送調試按鈕即可。它自行停止.. – Franzi
當您單擊該按鈕時,它將運行一個運行配置。有些東西可能已經與你的相同,所以你應該創建一個新的。 '運行|調試...''''編輯配置 - >'+' - >'Python' - >創建新配置 - >運行新配置 – nanotek