Eclipse-tomcat Remote Debugging

Source: Internet
Author: User

Step: If the app on Tomcat is deployed with Eclipse packaging, the code is consistent.

1, before deploying the application Remote-debug on machine A, you need to configure the debug port for Tomcat on machine A. Add a debug.bat/sh content to the ${tomcat}/bin under

Set jpda_address=8000
Set Jpda_transport=dt_socket
Catalina.bat JPDA Start setting the debug port to 8000, turn on Debug.bat. You can access the application http://192.168.100.112:8080/remote-debug/xxx.2, select the Remote-debug application on the Eclipse debug Machine B, configure the Debug configuration; Refer to: HTTP://BLOG.CSDN.NET/SUNYUJIA/ARTICLE/DETAILS/2614614:HTTP://BLOG.SINA.COM.CN/S/BLOG_86A6730B0101IEAN.HTML3. On Step 2, click on the Apply->debug. The green strips go through to prove the commissioning ready. 4. Set breakpoints on machine B debug Code, 5. Debug breakpoints by typing http://192.168.100.112:8080/remote-debug/xxx on machine b browser

Eclipse-tomcat Remote Debugging

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.