title: How to start Tomcat in debug mode and print to console?
body: <p>normally i start tomcat just with this command:</p>
  
  <pre><code>./catalina.sh run
  </code></pre>
  
  <p>And if i need to debug code i use:</p>
  
  <pre><code>./catalina.sh jpda start
  </code></pre>
  
  <p>This works fine so far. But if i use the second command the log is not displayed in the console. I would like to run tomcat in debug mode and see the log file in the console. Currently i always need to change between these 2 modes when needed.</p>
  
  <p>This question seems quite easy, but i did not manage to find something appropriate on stackoverflow or google :-/</p>
  
  <p>Thanks for your help! :-)</p>