Most likely the issue is due to debugger with Java 9 and above. From Java-9 and above when you attach debugger remotely , you need to specify the IP along with the port. If you attach the debugger correctly with JDK 9 and above then things should be working fine.