How to debug a JSP tomcat service using eclipse?

前端 未结 4 1674
闹比i
闹比i 2021-02-15 14:21

I would like to debug my separately running JSP/Struts/Tomcat/Hibernate application stack using the Eclipse IDE debugger. How do I setup the java JVM and eclipse so that I can s

4条回答
  •  感动是毒
    2021-02-15 15:04

    I just Googled it. :)

    http://bugs.sakaiproject.org/confluence/display/BOOT/Setting+Up+Tomcat+For+Remote+Debugging

    Many more on google.

    Effectively, set your JPDA settings: set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket bin/catalina.bat jpda start

    Then, in Eclipse, Run->Debug Configurations...->Remote Applications.

提交回复
热议问题