Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run the same project multiple times in IntelliJ IDEA?

I am developing client side of my application using IntelliJ IDEA. For debugging I need to run multiple clients.

I guess running same projects in different windows is not possible with IntelliJ IDEA. So how do I run multiple clients for debugging?

like image 276
lastpeony4 Avatar asked Feb 27 '19 11:02

lastpeony4


People also ask

How do I run multiple projects in IntelliJ?

Open preference -> appearance & behaviour -> System settings -> select (open project in new window) then apply. Then you could open and edit multiple projects.

How do I enable parallel run in IntelliJ?

Allow parallel runSelect Run | Edit Configurations from the main menu or Edit Configurations from the run/debug configuration selector on the toolbar. Choose your configuration from the list. Select the Allow parallel run checkbox and click OK.

Can you open same project twice in IntelliJ?

just open each one from different folder level. For example: Project A has 2 folders (one inside another) and inside the 2nd folder there is code. Then open one instance from folder 1 and another instance from folder 2. Open each instance by choosing open in new window..


1 Answers

You can run or debug the same Run/Debug configuration in IntelliJ IDEA several times if you enable the Allow parallel run checkbox.

You will see a tab per instance in the Run or Debug tool window.

In the previous IDE versions this checkbox was called Single instance only and its effect was reversed.

like image 124
CrazyCoder Avatar answered Oct 25 '22 07:10

CrazyCoder