Running Apache Tomcat as a Windows Service & Configure for Remote Debugging - DevDummy

Latest

Views | Thoughts | Concepts | Techniques

Wednesday, May 23, 2018

Running Apache Tomcat as a Windows Service & Configure for Remote Debugging

Apache Tomcat as a Windows Service & Configure for Remote Debugging



Download Apache Tomcat


  • Go directly to the Apache Tomcat Site, select the version you prefer for download . 
  • Select 32-bit/64-bit Windows Service Installer version

  • Execute the install as a regular windows installation.
  • Go the installed file location and run Tomcat8w
  • Tomcat Service Windows appears




Here you can start/ stop the Tomcat service and manage the properties.


Apache Tomcat Configuration for Debugging


  • Go to the Java tab 
  • Add the following under the Java Options,
            -Xdebug
            -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n


Restart the server & it is ready for remote debugging thorough port 8000.

...


No comments:

Post a Comment