def METHOD_NAME(self, **kwargs):  # noqa: E501
    """Returns debug information on what the current node is doing.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.debug(async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :return: str
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs["_return_http_data_only"] = True
    if kwargs.get("async_req"):
        return self.debug_with_http_info(**kwargs)  # noqa: E501
    else:
        (data) = self.debug_with_http_info(**kwargs)  # noqa: E501
        return data