Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase output buffer when running or debugging in PyCharm

Tags:

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.

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?

like image 900
Chris Avatar asked Dec 18 '15 12:12

Chris


People also ask

How do I increase terminal buffer size in Intellij?

open "File" => "Settings..." => "Editor" => "General" => "Console" activate "Override console cycle buffer size" from its default value of 1024kB to your needs. restart the IDE.

How do I get output in Pycharm?

You can review any output from your running applications in the Run window console. The output from each application is displayed in its own tab of the Run tool window, named after the corresponding run/debug configuration. If you re-run an application, the new output overwrites the contents of the tab.


2 Answers

For PyCharm Community 2016.3 (Mac) you can increase the size of console buffer in the application Preference:

How to increase the buffer size in a nutshell

like image 198
Emadpres Avatar answered Sep 17 '22 08:09

Emadpres


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).

Setting:

idea.cycle.buffer.size=disabled 

disables the cyclic buffer.

See https://www.jetbrains.com/idea/help/file-idea-properties.html for details.

like image 34
gndean Avatar answered Sep 19 '22 08:09

gndean