How to stop all running process in debug mode before a new run in intellij

Answered

Is there any way to configure a run configuration in IntelliJ which will stop all running process before running a new run?

I always forget to stop the previous run. So I hit to the point where it says the port is busy by the previous run. So I have to stop the previous run and restart the new run. That takes a long time. I am wondering there should be some way to simplify this process. Please let me know any idea?

p.s: I tried the macro to record multiple steps. That is not working correctly.

0
1 comment

Please enable Run/Debug Configurations | Single instance only option for the configuration.

0

Please sign in to leave a comment.