PyCharm - view runs in split mode

2019-04-08 01:32发布

I know that the questions is related to PyCharm but Python community is much larger and some of you might be using PyCharm so, please don't flag the question.

I'm running Python, zmq code for a server and a client. I would like to see the runs(console messages) in a side-by-side mode (split mode) for better analysis of the interaction between the two. It has the "split" mode between "Run" and "Terminal" and others but could not find split mode within the Runs category. Were you able to see multiple runs in a side-by-side mode? Is there any plugin or other way make it work?

Thank you!

4条回答
贪生不怕死
2楼-- · 2019-04-08 01:45

Have you tried just running two copies of the PyCharm application at the same time with a run window in each application. I was able to do this for my application and just put the windows side by side on the monitor. In my case I'm running a web site so having two copies running side by sides doesn't make much sense but it does work by setting the port number to be different in the two running instances. enter image description here

查看更多
对你真心纯属浪费
3楼-- · 2019-04-08 01:54

You can also right click on the file tab and select split Vertical or Split Horizontal to create 2 views of the current file.

You can later close the first if you only want different files on your screen and keep the split.

See http://www.jetbrains.com/pycharm/help/splitting-and-unsplitting-editor-window.html for more details

查看更多
Fickle 薄情
4楼-- · 2019-04-08 02:09

You can run one python file in the run window, and debug another python file but without any breakpoints. This allows you to see the console outputs of two concurrently running python scripts in Pycharm. Not ideal, but it's the best work-around I've found to this annoying problem.

查看更多
地球回转人心会变
5楼-- · 2019-04-08 02:11

No need to run two copies of Pycharm application. There is a easy way. Look at the image attached.enter image description here

查看更多
登录 后发表回答