在 Pycharm 中在运行和调试模式之间切换 [英] Switch between Run and Debug modes in Pycharm

查看:51
本文介绍了在 Pycharm 中在运行和调试模式之间切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在 PyCharm 中运行的 Python 脚本,我想中断它,检查一个变量并恢复.如果我使用调试模式,这将很简单,但不幸的是我不是(并且脚本已经运行了 24 小时).是否可以暂停脚本然后进入调试模式来检查变量?

I have a Python script running in PyCharm and I would like to interrupt it, examine a variable and resume. If I was using debug mode, this would be straightforward, but unfortunately I am not (and the script has been running for 24 hours). Is it possible to pause the script and then enter debug mode to examine a variable?

推荐答案

不是.恐怕你来晚了.

这篇关于在 Pycharm 中在运行和调试模式之间切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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