I am not aware of the addons which you run on your site but I do remember there being an addon that added an option to switch on and off debug mode from the ACP in order to save a site owner the trouble of editing the config.
Try searching for that option in your ACP or vetting the list of addons which are enabled on your live site as this would be my first guess while not having any more information.