Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Eclipse remote debug debugging

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Add the catalina.sh in the remote tomcat bin

CATALINA_OPTS= "- Xdebug-Xrunjdwp:transport=dt_socket,address=9001,server=y,suspend=n"

This sentence address is a remote port.

two。 Open Eclipse and click the debug button in the upper left corner, as shown in the figure:

3. Click the red area in the image above

4. Double-click the red area in the image above

5.Project: select the project you want to debug, Host: enter your remote IP,Port: remote call port. (for example, the above 9002, the firewall must open this port)

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report