I think its controlled by the debug setting in the machine.config file or a config file for the project, I'm not sure though.