小知识

eclipse 调试 tomcat 

linux:bin文件夹下:

export JPDA_ADDRESS=8000

export JPDA_TRANSPORT=dt_socket

./catalina.sh jpda start

Eclipse:

Debug configuration

Remote Java Application

Host:192.168.1.1

Port:8000

posted @ 2015-04-18 22:05  SunkSky  阅读(127)  评论(0编辑  收藏  举报