如何强制PyCharm在“运行”窗口中显示所有print()语句的内容

时间:2019-03-28 06:28:11

标签: python pycharm

我的主要功能中包括许多其他功能,这些功能使“运行”窗口的输出被截断。 有没有办法强迫pyCharm显示print语句的所有输出?

enter image description here

我可以通过“运行”>“编辑配置”>“日志”选项卡将输出写到文件中,但是如果可能的话,首选是“运行”窗口?

1 个答案:

答案 0 :(得分:1)

您可以尝试以下设置:

File -> Settings -> Editor -> General -> Console: Use soft wraps in console