I have some specific code that runs in debug mode and other code that runs on release mode. I'm trying to write some tests to ensure that only code that is supposed to run based on the configuration runs. Essentially, I have a set of interceptors that run in debug mode but not in release mode because it modifies the data a little for testing purposes.
How can I programatically change the configuration type?