title: Debug Playframework in Eclipse
body: <p>I just moved from Netbeans to Eclipse. In Netbeans, I can debug Playframework applications out of the box. However, in Eclipse, it seems hard to configure this in order to debug a web app (a Playframework app in specific).</p>
  
  <p>As in Play! documentation, </p>
  
  <blockquote>
    <p>The main launcher in only usable with the Run As eclipse command. You
    can then use the “Connect JPDA launcher” using “Debug As” to start a
    debugging session at any time. Stopping the debugging session will not
    stop the server.</p>
  </blockquote>
  
  <p>However, I can not see “Connect JPDA launcher” in "Debug As" (I'm using Eclipse Classic 3.7.0). 
  I've searched about JPDA (I'm new to Java and don't know about "main launcher" and JPDA, then config Remote Debug as instruct in 
  <a href="http://javarevisited.blogspot.com/2011/02/how-to-setup-remote-debugging-in.html" rel="noreferrer">http://javarevisited.blogspot.com/2011/02/how-to-setup-remote-debugging-in.html</a>
  But it's returning an error: </p>
  
  <blockquote>
    <p>Failed to connect to remote VM. Connection refused. Connection
    refused: connect</p>
  </blockquote>
  
  <p>I've searched and found some suggestions like:</p>
  
  <blockquote>
    <p>1.)editing catalina.bat and adding the lines : set
    JPDA_TRANSPORT=dt_socket ... set JPDA_ADDRESS=8000 AND
    2.)Editing startup.bat call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%</p>
  </blockquote>
  
  <p>Actually I don't clearly understand this and I guess it's for configuring Tomcat. However, I'm using Play! default server, checked the application.conf and sure that it's listening to port 9000 and 8000 for JPDA.</p>
  
  <p>Of course, I have started the Play app before debugging, I can access the app via port 9000 normally. I'm using Win 7 with no admin rights.</p>
  
  <p>Do you have a detailed guide on debugging Play! in Eclipse?</p>