eclipse - Tomcat 7 remote debugging on EC2 -


i have tomcat 7 instance running on ec2. port tomcat running on default, 8080.

i wanna start tomcat in debug mode, started tomcat following command :

sudo service tomcat7 start -xdebug -xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n 

i have 8000 port opened in security group. when try remote debug using eclipse, gives me connection refused error. clue doing wrong ?

thanks..

i don't think can put debug options arguments service command.

assuming installed standard tomcat7 package using yum, edit file /etc/tomcat7/tomcat7.conf , add line in it:

java_opts="-xdebug -xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" 

then restart tomcat service.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -