为什么 Pycharm 调试器停止工作 [英] Why does Pycharm debugger stopped working

查看:47
本文介绍了为什么 Pycharm 调试器停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Pycharm 中调试我的代码,但它显示为pydev 调试器:进程 58159 正在连接"并且只是给出了输出.验证是否有任何其他断点并删除其他断点.仍然没有运气.还尝试在不同的项目中调试相同的代码,但这些代码甚至都不起作用.我使用的版本是 Pycharm 2019.3.3(社区版).直到昨晚它工作正常.不知道今天出了什么问题.我在谷歌搜索,但没有找到正确的答案.请在下面找到控制台输出.

I'm trying to debug my code in Pycharm but it is displaying as "pydev debugger: process 58159 is connecting" and simply giving the output. Verified if there are any other breakpoints and deleted others. Still no luck. Also tried to debug the same code in different project which has even not worked. The version I'm using is Pycharm 2019.3.3 (Community Edition). It was working fine till last night. Not sure what went wrong today. I searched in Google but did not found the right answer. Please find the console output below.

/Users/so262757/PycharmProjects/sample/venv/bin/python "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 61273 --file /Users/so262757/PycharmProjects/sample/patternexample.py
pydev debugger: process 58159 is connecting

Connected to pydev debugger (build 193.6494.30)
1234
234
34
4

Process finished with exit code 0

非常感谢任何帮助.提前致谢.

Any help is much appreciated. Thanks in Advance.

推荐答案

我遇到了类似的问题.pycharm 2019 一切正常,然后我更新到 2020 并将调试器更新为推荐的

I had a similar issue. All was working fine with pycharm 2019 then I updated to 2020 and updated debugger to the recommended

pip install pydevd-pycharm~=201.7223.92

这根本行不通.

我解决它的方法是在虚拟机上简单地安装下面的调试器版本

The way I resolved it was to simply install the version of debugger below on the VM

 pip install pydevd-pycharm~=193.6911.25

我收到警告,但一切正常.希望能帮助到你.下面的警告我只是忽略

I get a warning but all works perfectly. Hope it helps. Warning below which I just ignore

警告:错误的调试器版本.使用 PyCharm 中的 pycharm-debugger.egg安装文件夹或执行:'pip installpydevd-pycharm~=201.7223.92' 预期:%s 存在.追溯(大多数最近通话最后一次):

Warning: wrong debugger version. Use pycharm-debugger.egg from PyCharm installation folder Or execute: 'pip install pydevd-pycharm~=201.7223.92' Expected: %s to exist. Traceback (most recent call last):

这篇关于为什么 Pycharm 调试器停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆