Reputation: 302
Is it possible to Set Debug= false for an individual asp.net page. I want to enable debugging for the entire application but there is a page in application where I want to set Debug = false only for that page ?
Upvotes: 1
Views: 732
Reputation: 10222
Yes, you can set Debug="false"
on the page directives, at the top of the .aspx markup.
<%@ Page language="C#" Debug="false" .... %>
Upvotes: 1