Add a debug flag to print more info.