Add global variable for enabling debugging