Return the query as debug information