Linux - Tomcat7 running

Window - Eclipse, remote debugging



1. Linux 


1.1 Add Environment


#file open

vi /etc/bash.bashrc


#add line..

export JAVA_OPTS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"


#write and quit

:wq


#reload environment

source /etc/bash.bashrc


1.2 tomcat remote debugging run


cd /usr/share/tomcat7/bin


./catalina.sh run


2. Window


2.1 Eclipse remote debugging 


Run - Debug Configurations .... 

Setting


Debug Perspective 



+ Recent posts