Show step which caused definition generation during --append-snippets

Closes #459