Debug mode output should be printed before the final results