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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -