Search code examples
pycharm

Running two scripts in parallel in Pycharm


I have two scripts, server.py and client.py.

I want to be able to start them running, in that order, with one action.

How can achieve that in Pycharm? Please note that I want to be able to set breakpoints


Solution

  • You can give Multirun a try:

    Allows to run multiple run configurations at once: group multiple run configurations and start them in a single click. Not only application and test run configurations can be grouped, but other Multirun configurations can be organized into single run configuration.

    It will let you run all configurations in Debug mode and use breakpoints.