So I've been pulling my hair (what's left of it) trying to get remote debugging to work.
In an older Play project (v2.0), I'm able to make the connection from eclipse work with no problems, but since activator was introduced, it hasn't worked for me.
Here's what I'm doing:
activator -jvm-debug 9999 run
and get:
Listening for transport dt_socket at address: 9999
In eclipse, I created a remote debug configuration and have set the port to 9999 (I also tried different ports).
When I run the debug, I get this pop up from eclipse:
Failed to connect to remote VM. Connection refused.
Connection refused
I also tried to telnet to see if the port actually opens:
telnet localhost 9999
and get:
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
telnet: Unable to connect to remote host
What am I missing here?
fork in run := false
fork in Test := false