Wrapped debug statements with conditional debug