code: def debug(self, filter_enabled=False):
          
          params = {'filter_enabled': filter_enabled}
          result = self.make_request(
              NodeCommandFailed,
              resource='diagnostic',
              params=params)
          return Debug(result.get('diagnostics'))
docs: View all debug settings for this node. This will return a
          debug object. View the debug object repr to identify settings
          to enable or disable and submit the object to :meth:`set_debug`
          to enable settings.
          
          Add filter_enabled=True argument to see only enabled settings
  
          :param bool filter_enabled: returns all enabled diagnostics
          :raises NodeCommandFailed: failure getting diagnostics
          :rtype: Debug
          
          .. seealso:: :class:`~Debug` for example usage