在 PyCharm 中运行或调试时增加输出缓冲区 [英] Increase output buffer when running or debugging in PyCharm
问题描述
我的控制台输出超出了运行输出窗口中 PyCharm 的缓冲区大小.因此,当我在测试完成后滚动到顶部时,我无法一直到达控制台输出的开头.我可以在外部终端窗口中运行测试并查看所有输出,但与 PyCharm 的集成很方便.
My console output is exceeding PyCharm's buffer size in the Run output window. So when I scroll to the top after a test completes, I can't get all the way to the start of the console output. I can run the tests in an external terminal window and see all the output, but the integration with PyCharm is handy.
有没有办法增加 PyCharm 运行输出的缓冲区大小,以便我可以保留所有日志输出并向右滚动到顶部?
Is there a way to increase the buffer size of the PyCharm run output so I can retain all my logging output and scroll right to the top?
推荐答案
是的,您可以在 bin/idea.properties
中编辑 idea.cycle.buffer.size
设置code> 文件在安装文件夹中(或在 OS X 上的应用程序包中).
Yes, you can edit the idea.cycle.buffer.size
setting within the bin/idea.properties
file within the installation folder (or within the Application package on OS X).
设置:
idea.cycle.buffer.size=disabled
禁用循环缓冲区.
参见 https://www.jetbrains.com/idea/help/file-idea-properties.html 了解详情.
这篇关于在 PyCharm 中运行或调试时增加输出缓冲区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!