Improve recognition debug output