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.
- Create a project and run
play clean compile - run
play debug run - in Eclipse, set 'debug configration' ->remote java application -> host: localhost, port:9999 and common: debug
- 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
>GET / HTTP/1.1< - expected >JDWP-Handshake<
Any idea what is wrong?