cgb_mod: make the output dependent on debug_mode variable