Improve debug information

Add the list of features that caused the corresponding row to fail to
each output line.