Every time a new instance of the run/debug configuration is launched, IntelliJ IDEA checks the presence of the other instances of the same run/debug configuration, and displays a confirmation dialog.If Allow running in parallel checkbox is selected, it is possible to launch a run configuration multiple times in parallel instead of rerunning it. But is doesn't work on my computer.
I think it's because I click DO NOT SHOW THIS DIALOG IN THE FUTURE in the confirmation dialog.It change the RUN turn to RERUN.
I need some way to find the confirm dialog or the way to parallel run the same program.
THANK YOU.
My IDE is WebStorm, but I think it should be the same as IDEA. You can try using:
Menu bar -> Run -> Edit configurations... -> Allow parallel run
Related
Is there a way to force JetBrains IDE startup tasks to be debugged instead of being run?
Specifically, I want to configure WebStorm Settings | Tools | Startup Tasks to automatically perform a JavaScript debug task on IDE startup. The debug task only works by debugging it instead of running it, but it seems that WebStorm performs startup tasks by simply running it. I'm using WebStorm 2022.3.
I'm expecting the task to be performed on startup as if it is executed by clicking the Debug button on the top right of the IDE.
debug mode for startup tasks is not supported right now. However, we have a corresponding feature request on our bug tracker. We would appreciate it if you could upvote the issue to demonstrate additional interest and bring increased awareness to the issue.
When I used to click Run or Debugin IntelliJ, it used to restart the running process but, now it spins up a new one. How can I change that?
Make sure Allow parallel run option is disabled in the Run/Debug configuration.
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?
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.
always before launching my app I'm running all the unit tests to make sure there is no regression. So I have two separate tasks and run all tests, and then I launch the app.
I'm curious if there is any option of setting the configuration this way that I click "Run" button, and it invokes build, tests and launch?
Thanks!
IntelliJ IDEA provides Compound Run/Debug configurations exactly for that:
Use this dialog box to create configurations containing multiple run/debug configurations that you can launch at once. This is useful, for example, if you want to launch various automated tests and get test results in one window.
I am developing with IntelliJ. In this project, I need to run 3 servers.
Is there a way to create a shortcut to :
Stop all those servers in one click or keyboard shortcut
Optionally, restart them.
Thanks.
There doesn't seem to be a direct method to do this in IntelliJ, but if you can stop each one from a script, then you could just write a script and run it from IntelliJ. Personally, I'd just go to the terminal and run the script rather than configuring it directly in IntelliJ (which also has an embedded terminal, btw).