zap debug code