'How to keep the application running during a breakpoint?

When testing/debugging a Java application, how one could put a breakpoint somewhere that get's caught and does not hang the whole application?

I have a simple Spring Boot application, and when I set a breakpoint somewhere in my IntelliJ Community IDE, the whole app hangs.

How can I allow the app to run even though I am holding one thread?

Could I get 2 breakpoints at the same time from 2 users trying to login at the same time?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source