hide debug messages unless requested