0

My Project is in Eclipse Helios and I have to run my application in Tomcat 8, The problem is Eclipse Helios is an older version so It is not supporting to set up Tomcat 8 in servers tab of Eclipse.

I am facing lot of issues while developing and testing, so I am willing to start Tomcat 8 in debug mode can any one please suggest me in this regard.

My goal is to start tomcat in debug mode without Setting it up in eclipse and I should be able to debug my application, I tried in multiple ways but unable to solve this issue can any one please suggest me in this regard.

Regards, Nithin.

Nithin
  • 61
  • 1
  • 9
  • please have a look at [this answer](https://stackoverflow.com/questions/16689274/how-to-start-debug-mode-from-command-prompt-for-apache-tomcat-server) and see if some of it has helped – DevDio Aug 10 '17 at 07:31
  • Is there a reason you have to stay on Helios? – nitind Aug 10 '17 at 07:50
  • No specified reason I will try with some eclipse new version. – Nithin Aug 10 '17 at 08:14

1 Answers1

0

** Copied answer **

With the tomcat6.exe version you can enable remote debugging by running the tomcat6w.exe application and adding the following 2 java options in the list on the Java tab:

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

This is according to http://wiki.apache.org/tomcat/FAQ/Developing and it worked in my case (Tomcat 6.0.26 for windows)