Well, I change my webapplication mode like this.
In the solution manager window. right-click on my project and select property.
Then choose the build tab. There is a configuration drop down list.
I switch between RELEASE and DEBUG there.
Is that correct?