简体   繁体   English

我的ASP.NET Web应用程序中web.config文件的system.web部分中的调试参数

[英]Debug parameter in system.web part of the web.config file in my ASP.NET web application

I'm trying to find out some info on what does debug parameter do in this line of the web.config file for my web application: 我试图在我的Web应用程序的web.config文件的这一行中找到一些有关debug参数的信息:

<system.web>
    <compilation targetFramework="4.0" debug="true"/>

Can someone explain? 有人可以解释吗? And do I need to keep it in production product? 我需要将其保留在生产产品中吗? For some reason that line stays in my web.config when I publish the web app. 出于某种原因,当我发布Web应用程序时,该行保留在我的web.config中。

It determines whether debug information is generated for the compiled assemblies. 它确定是否为已编译的程序集生成调试信息。 IIS compiles content automatically, so that if you alter a page file, your changes become effective automatically. IIS自动编译内容,因此,如果更改页面文件,则更改将自动生效。 the tag in question tells IIS how to compile it. 有问题的标记告诉IIS如何编译它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM