Add debug output when restoring tables

One of my restore scripts is exploding and without this you can't tell which one broke