How to debug Spring Boot application with Eclipse?

ghz 1years ago ⋅ 2024 views

Question

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

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