Adding some debugging code to solutions