Use macro to control debug messages.