eclipse调试远程tomcat
1.设置tomcat远程调试端口 catalina.sh
export JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8092"
2.设置eclipse
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。选中需要debug的项目--》右键--》debug as--》debug configurations--》remote java application--》new
3.启动本地项目
4.远程连接服务器进行debug

更多精彩