Better debugging for sync.