Strip debug messages