Made Debug packet outputs conditional