title: Attach debugger (using eclipse) to play framework failed
body: <p>I am using Scala to write a web on top of Play framework with eclipse IDE. I am trying to debug my app but hit debug attach failure. I tried to switch using Java instead of Scala,but I got same error. This is what I do. </p>
  
  <ol>
  <li>Create a project and run <code>play clean compile</code></li>
  <li>run <code>play debug run</code></li>
  <li>in Eclipse, set 'debug configration' ->remote java application -> host: localhost, port:9999 and common: debug</li>
  <li>in browser type in URL and enter: localhost:9999. Then get the following failure in play framework command line:
  Debugger failed to attach: handshake failed - received <code>&gt;GET / HTTP/1.1&lt; - expected &gt;JDWP-Handshake&lt;</code></li>
  </ol>
  
  <p>Any idea what is wrong? </p>