@Override
      public void contentSelected(@Nullable RunContentDescriptor descriptor, @NotNull Executor executor) {
        if (descriptor != null && ToolWindowId.DEBUG.equals(executor.getToolWindowId())) {
          XDebugSessionImpl session = mySessions.get(descriptor.getProcessHandler());
          if (session != null) {
            session.activateSession(true);
          }
          else {
            setCurrentSession(null);
          }
        }
      }
@Override
      public void contentSelected(@Nullable RunContentDescriptor descriptor, @NotNull Executor executor)