Reputation: 694
I'm using the Azure Continuous deployment service. It is useful, but I don't know how to change the build type to Debug. It always works as Release build.
Upvotes: 3
Views: 164
Reputation: 43203
You can do this by adding the following App Setting in the Azure Portal:
Set SCM_BUILD_ARGS
to -p:Configuration=Debug
.
Make sure to use a -
an not /
for the switch, as slash has some issues in some situations.
See here for more info. Another option is to use a full custom deployment script, but that's overkill if you just want to change that.
Upvotes: 5