Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run same application in new run tool window? Pycharm Community 2017

I am working on a Python 3.6 project in Pycharm Community Edition 2017.2.3.

I have multiple run configurations in my project. Each different run configuration will open a different 'Run tool window'.

I want to look through the output of the previous run of my application while re-running it in another tool window. However, each new run of the same configuration will overwrite the console output of the previous run. How do I run the same application/configuration in a new tool window?

It's probably possible to just duplicate the configuration, but I'm looking for a better way. Maybe something similar to opening new terminals?

like image 683
Aralox Avatar asked Sep 28 '17 03:09

Aralox


People also ask

How do I change the run in PyCharm?

Alt + Shift + F10 and then select the script you want to run. After that Shift + F10 will run the last script that has been run.

Can PyCharm run multiple scripts?

With PyCharm, you can run entire applications as well as particular scripts.


2 Answers

Go to build configurations and enable show command line afterwards. It simply opens the python interpreter in the console after running your code. Now When you run the code again. It will open a new tab in the run window, instead of overwriting the old one.

enter image description here

like image 109
Anonta Avatar answered Sep 22 '22 18:09

Anonta


You can pin first tab by right click then run another script

like image 27
TK10 Avatar answered Sep 24 '22 18:09

TK10