问题
When I use PyCharm with remote debug through ssh to a tcsh shell server, many times its stops working, and displays "/: Event not found"
More specifically, I encounter the following in pycharm debug console.
ssh://username@hostserver:22/path/to/bin/python -u /path/to/.pycharm_helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support=auto --client '0.0.0.0' --port 40426 --file /path/to/python/file/main.py
/: Event not found.
Is the problem owing to history substitution in tcsh shell? Because I can get the same response when typing !/
.
I find some similar questions like Issue with pycharm remote debug (“/: Event not found.” ) and Event not found, but no useful answer.
Sometimes this problem disappears automatically, which is weird.
回答1:
I'm having similar issue.
I have fixed this by removing remote_source
file from ~/Library/Caches/PyCharm20017.3
directory.
Please note that I'm using macOS.
回答2:
I had the same issue and received an answer from JetBrains. It was caused by PyCharm not supporting csh, and the temporary solution is to use bash until PyCharm supports csh. After changing login shell to bash in Linux, the remote debugger started working.
来源:https://stackoverflow.com/questions/48050064/received-event-not-found-when-using-pycharm-remote-dubugger