protected static void attachViewToSession(@NotNull XDebugSessionImpl session, @Nullable XDebugView view) {
    if (view != null) {
      XDebugViewSessionListener.attach(view, session);
    }
  }
protected static void attachViewToSession(@NotNull XDebugSessionImpl session, @Nullable XDebugView view)