How to debug Spring Boot application with Eclipse?

后端 未结 13 2484
星月不相逢
星月不相逢 2020-12-04 07:04

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

13条回答
  •  自闭症患者
    2020-12-04 07:18

    Easier solution:

    Instead of typing mvn spring-boot:run, simply type mvnDebug spring-boot:run

    You will still need to attach the debugger in Eclipse by making a new Debug Configuration for a "Remote Java Application" on the relevant port.

提交回复
热议问题