Debugging Spring applications can be a non-trivial task. Firstly I would recommend using IntelliJ IDEA Ultimate, because paying for it gives you a lot of extra Spring related functionality, and then watch Spring Debugger: A New Way To Demystify Spring Boot's Magic by Marco Behler @ Spring I/O 2025 - YouTube for more help it is embedded below.