Add useful debug output on a parse failure.

For example, use this on sample8 to see output that makes it easy to
understand and fix the grammar error.