How to debug Spring Boot application with Eclipse?

JeffLL picture JeffLL · Jun 9, 2014 · Viewed 188.3k times · Source

My Spring Boot webapp is running just fine, and I'd like to debug it through Eclipse.

So when launching my Remote Java Application debugger, which port should I listen to? And is there a setting on my webapp I have to set to enable debugging?

Answer

Dave Syer picture Dave Syer · Jun 9, 2014

Why don't you just right click on the main() method and choose "Debug As... Java Application"?