debugging java application deployed in tomcat

后端 未结 7 1642
刺人心
刺人心 2021-02-01 03:31

I have an application that I deployed in tomcat. Later I configured the code as a project in Eclipse. I want to connect to the tomcat via eclipse and debug the application. Tryi

7条回答
  •  误落风尘
    2021-02-01 04:28

    1. Right Click on the project you want to debug and go to Debug As Menu and in the list click on Debug Configurations.

    1. Then Double click on the Remote Java Application from left menu list. browse for the project u wanna add in then click apply.

      • Also change the listening port to 7999, then after you started the web app from your localhost click the debug button on the same window. Then any break point's will be hit after that.

提交回复
热议问题