Remove DEBUG_VAR_GET

Going to remove the DEBUG_VAR_GET macro and go back to using helper
friend classes.