Debugging Spring Boot applications with Eclipse

Debugging Spring Boot applications with Eclipse is a piece of cake. Let’s see how to do it.

First of all, install Eclipse Spring Tools as described in this tutorial: Choosing the IDE for Spring Boot development

Then much of the work has been already done. Place the breakpoints in your code and open the Boot DashBoard. If not visible in your Eclipse, goto Window > Show View > Other > Spring > Boot Dashboard.

Now click on the Debug tiny icon as shown in this picture:

Debugging spring boot with eclipse

Once you hit your breakpoint, the Debug Perspective will switch on:

Debugging spring boot with eclipse

Well done! You have just learned how to debug Spring Boot applications using Eclipse!