I'm trying to set a release on Azure Pipelines, but I need to release in debug mode (or in some way that doesn't transform web.config file, keeping with settings in debug mode).
I already set the build pipeline to build in Debug mode (setting System.Debug variable to true), in Releases I set it with the same variable (System.Debug = true), unchecked the boxes "XML transformation" and "XML variable substitution", but unsuccessful. The build is always transforming the web.config file to Release mode.
Sets of XML transform during release set
Is there something I'm missing?