title: How to run Apache Tomcat 8 in debug mode?
body: <p>I am trying to run Apache Tomcat 8.0.21 in debug mode. </p>
  
  <p>When I give the command </p>
  
  <pre><code>sh catalina.sh jpda start
  </code></pre>
  
  <p>it gives this error.</p>
  
  <p><strong>error message</strong></p>
  
  <blockquote>
    <p>ERROR: Cannot load this JVM TI agent twice, check your java command
    line for duplicate jdwp options. Error occurred during initialization
    of VM agent library failed to init: jdwp</p>
  </blockquote>
  
  <p>Can anyone help ?</p>