Add debugStructure() for debugging involved structures