...">

Debug = true in .svc file?

Our svc files for WCF contain the following:

<%@ ServiceHost Service="Foo" Factory="Bar" Language="C#" Debug="true" %> 

What does debug = true mean in this case? Web.config has debug = false, but I don’t know what this means and cannot find the MSDN link.

+4
source share
2 answers

Quote from http://msdn.microsoft.com/en-us/library/aa967286.aspx :

Debugging

Indicates whether the Windows Communication Service (WCF) should be combined with debugging symbols. true if the WCF service must be compiled with debugging symbols; otherwise false.

Without debugging symbols, it will be more difficult to debug services.

+6
source

I am convinced that this will override what is in web.config, but only for this particular service. Maybe I'm wrong.

0
source

Source: https://habr.com/ru/post/1311005/


All Articles