make the admin dependent on if debugging is enabled.