Sbt -jvm-debug 9999 ~run fails on OPENJDK 11


(César Toscano) #1

The following command fail when using Oracle OPENJDK 11.
sbt -jvm-debug 9999 ~run
It gives:
ERROR: transport error 103: invalid port number specified
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [:732]

Anyone knows how to have this working?
I am using play 2.6.19


(Aditya Athalye) #2

You may have already checked this, but are you sure the port is not already in use? I have seen this in the past and took time to realize that the port was already in use caused by a previous run not shutdown properly.

You could try with a different port to start with.

Regards
Aditya