I know that this hasn’t always been the case, so I have changed something at some point.
Basically, I have code
#if !DEBUG
[RequireHttps(Order = 1)]
#endif
So it forces https in live mode. It used to work, but now it isn’t. ( It is always in debug mode now)
My Web.config is set to live mode:
<compilation debug="false" targetFramework="4.0">
Is there anywhere else I should change it?
Edit: I cant change this to Release, its not saving.

You probably changed your project’s build configuration from
ReleasetoDebug. You can switch it back in your project’s Build properties tab.