Add debugging for broken migrations.