static DebuggerSession create(@NotNull final DebugProcessImpl debugProcess, DebugEnvironment environment)
    throws ExecutionException {
    DebuggerSession session = new DebuggerSession(environment.getSessionName(), debugProcess, environment);
    try {
      session.attach();
    }
    catch (ExecutionException e) {
      session.dispose();
      throw e;
    }
    return session;
  }
static DebuggerSession create(@NotNull final DebugProcessImpl debugProcess, DebugEnvironment environment)