Add missing global variable in debug