Add debug logging for when we enter and exit `Measure` blocks.