Take the first option - it sets the following in your Web.config which you should have.
<compilation debug="true" targetFramework="4.0">
When you release the application set debug to false. Without this setting you will not be able to debug your code.
Documentation
here[
^].