title: Remote debugging Tomcat with Eclipse
body: <p>I can't seem to debug the tomcat application through Eclipse.  I've set </p>
  
  <p><code>CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n</code></p>
  
  <p>and then I run <code>bin/catalina.sh</code>, where I see output saying it's listening for <code>dt_socket</code> on <code>port 8000</code>.  But whenever I try to connect to port <code>8000</code> in Eclipse (by adding an entry in the remote java application menu), it complains about a refused connect.  Any ideas?</p>