@Nullable
  public ServerSocket getForkSocket() {
    if (myForkSocket == null && !Boolean.getBoolean("external.system.disable.fork.debugger")) {
      try {
        boolean isRemoteRun = ContainerUtil.exists(
          ExternalSystemExecutionAware.getExtensions(mySettings.getExternalSystemId()),
          aware -> aware.isRemoteRun(myConfiguration, myProject)
        );
        myForkSocket = new ServerSocket(0, 0, findAddress(isRemoteRun));
      }
      catch (IOException e) {
        LOG.error(e);
      }
    }
    return myForkSocket;
  }
@Nullable
  public ServerSocket getForkSocket()