debug entity.