I have several applications. Each of them is deployed in its own application server. It's done this way because it minimizes time to redeploy each application when a change is made only in that application. This is because only one app server with one application will be restarted, which takes less time.
Anyway, I need to start all of those application servers in a certain order and in debug mode. Intellij IDEA has a compound configuration which allows you to start multiple applications. But it has 2 significant flaws: it doesn't allow you to specify the order in which applications should be started and it seems to not allow to start them in debug mode. So is it possible to somehow achieve those goals?
The multirun plugin is a better implementation for this. You can define the run order and even more importantly debug works.
https://github.com/rkhmelyuk/multirun
You can add tasks to a Run/Debug configuration and configure their order with before launch options.
https://www.jetbrains.com/help/idea/run-launcher.html#before-launch-options https://youtrack.jetbrains.com/issue/IDEA-181164
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With