Ide 1539

If the server was started in debug mode... then the getDebugPort() should not return -1