tags:

views:

60

answers:

2

Our WCF svc files 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 one means and can't find a reference on MSDN.

A: 

My belief is that this will override what's in the web.config but only for this specific service. I may be wrong, though.

Jaxidian
+1  A: 

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

Debug

Indicates whether the Windows Communication Foundation (WCF) service should be compiled with debug symbols. true if the WCF service should be compiled with debug symbols; otherwise, false.

Without debug symbols, it'll be harder to debug the services.

Julien Lebosquain
Thanks. What would this mean if web.config has debug=false?
JohnW