收到“/:未找到事件".使用 PyCharm 远程调试器时 [英] Received "/: Event not found." when using PyCharm remote dubugger
问题描述
当我使用 PyCharm 通过 ssh 远程调试到 tcsh shell 服务器时,很多时候它停止工作,并显示/:找不到事件"
When I use PyCharm with remote debug through ssh to a tcsh shell server, many times its stops working, and displays "/: Event not found"
更具体地说,我在 pycharm 调试控制台中遇到以下情况.
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/:未找到事件.
问题是由于 tcsh shell 中的历史替换造成的吗?因为我可以在输入 !/
时得到相同的响应.
Is the problem owing to history substitution in tcsh shell? Because I can get the same response when typing !/
.
我发现了一些类似的问题,例如 pycharm 远程调试问题(/:找不到事件.") 和 未找到事件,但没有有用的答案.
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.
推荐答案
我遇到了同样的问题并从 JetBrains 收到了答复.是PyCharm不支持csh造成的,临时解决办法是使用bash,直到PyCharm支持csh.在 Linux 中将登录 shell 更改为 bash 后,远程调试器开始工作.
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.
这篇关于收到“/:未找到事件".使用 PyCharm 远程调试器时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!