More work on debug mode for list.