Eclipse Remote Debug Debug

Source: Internet
Author: User

1. In the remote Tomcat bin inside the catalina.sh Plus

Catalina_opts= "-xdebug-xrunjdwp:transport=dt_socket,address=9001,server=y,suspend=n"
This address is a remote port

2. Open Eclipse, click the Debug button in the upper left corner,

650) this.width=650; "src=" http://my.csdn.net/uploads/201205/04/1336110683_5716.jpg "/>

3. Click on the Red area


650) this.width=650; "src=" http://my.csdn.net/uploads/201205/04/1336110716_3261.jpg "/>

4. Double-click the red area

650) this.width=650; "src=" http://my.csdn.net/uploads/201205/04/1336110724_9432.jpg "/>

5.Project: Select the project you want to debug, Host: Enter your remote ip,port: Remote Call port. (as in 9002 above, firewall must open this port)

6.eclipse inside break point, access to the remote project address, you can start a happy remote debug

Eclipse Remote Debug Debug

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.