Add enabled variable to debug mode.