Search code examples
javaspringeclipsedebuggingspring-boot

How to debug Spring Boot application with Eclipse?


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?


Solution

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