private static void showView(@Nullable XDebugSessionImpl session, String viewId) {
    XDebugSessionTab tab = session != null ? session.getSessionTab() : null;
    if (tab != null) {
      tab.toFront(false, null);
      Content content = tab.findOrRestoreContentIfNeeded(viewId);
      // make sure we make it visible to the user
      if (content != null) {
        tab.myUi.selectAndFocus(content, false, false);
      }
    }
  }
private static void showView(@Nullable XDebugSessionImpl session, String viewId)