Put some print statements under the 'debug' flag.