Kim-Jimin
Kim-Jimin

Reputation: 694

How to set build type(Release/Debug) for Continuous deployment using GIT in Azure App Service

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

Answers (1)

David Ebbo
David Ebbo

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

Related Questions