Only debug if there's a change