comments addition and an option to the show_debug routine to return the
debug results as a string
check for failed commands in the debug result