IntelliJ IDEA 13.1 debug throws Unable to open debug port error for Play 2.3.x on Windows 7

We use Play 2.3.x for our web application. I wanted to debug server-side code, so I did the following

steps on a windows 7 machine

1) Set the JAVA_OPTIONS to "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999"

2) On IntelliJ IDE : Run > Edit Configurations > Created a configuration with name "myserverdebug" with values ( transport : socket , debugger mode : attach , port : 9999 , host : localhost , modules class path : our project) and apply

3) Run > Debug > Select "myserverdebug"

Then an error is thrown:

Error starting ServerDebugTests: unable to open debugger port: java.net.ConnectException "Connection refused: connect **

Can someone tell me how to resolve this connection port error on Windows 7 (not Linux)?

+4
source share
1 answer

debugging changed in game 2.3. Just run the activator with -jvm-debug 9999.

.

+1

All Articles