Do not evaluate debug output unless we will be printing it out.

This is important for when dump Value instances because converting
them to strings can be very slow.