code: def request_debug_privileges(cls, bIgnoreExceptions = False):
          
          try:
              cls.request_privileges(win32.SE_DEBUG_NAME)
              return True
          except Exception:
              if not bIgnoreExceptions:
                  raise
          return False
docs: Requests debug privileges.
  
          This may be needed to debug processes running as SYSTEM
          (such as services) since Windows XP.
  
          @type  bIgnoreExceptions: bool
          @param bIgnoreExceptions: C{True} to ignore any exceptions that may be
              raised when requesting debug privileges.
  
          @rtype:  bool
          @return: C{True} on success, C{False} on failure.
  
          @raise WindowsError: Raises an exception on error, unless
              C{bIgnoreExceptions} is C{True}.