PyCharm을 사용합니다. 파이썬 3.3에서 pydev 디버거를 빌드했다. python /Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace
을 사용했다. 무효Python 업그레이드 후에 Pydev 디버거가 PyCharm에서 작동하지 않습니다.
/<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
내가 업데이트 된 파이썬 버전에서 setup_cython.py build_ext --inplace
을 다시 실행 시도 : 나는 다음 메시지와 함께, 파이썬 3.5에서 새로운 가상 환경을 사용하고, 지금은 디버거가 실행되지 않습니다 내 프로젝트를 업데이트했다 내 캐시, 다시 시작, 내 .idea
폴더를 삭제하지만 위의 메시지를 해결할 수있는 방법은 없습니다.
새로 복제 된 저장소에서 프로젝트를 생성하여 디버거 사용을 회수 할 수있었습니다. 이는 위에서 언급 한 모든 단계를 수행하여 PyCharm 프로젝트를 실제로 지우는 데 충분하지 않은 다른 캐시 된 객체가 있음을 의미합니다. 그 소스 파일의 외부 참조. 나는 아직도 누군가가이 문제를 해결했는지 알고 싶어한다. – Jon