public static boolean isCurrentPythonDebugProcess(@NotNull AnActionEvent event) {
    XDebugSession session = DebuggerUIUtil.getSession(event);
    return session != null && session.getDebugProcess() instanceof PyDebugProcess;
  }
public static boolean isCurrentPythonDebugProcess(@NotNull AnActionEvent event)