debugging java application deployed in tomcat

后端 未结 7 1562
刺人心
刺人心 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:32

    Simply change the line in startup.bat (if you are using Windows)

    from:

    call "%EXECUTABLE%" start %CMD_LINE_ARGS%
    

    to:

    call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%
    

提交回复
热议问题