Jill
Jill

Reputation:

Code-Level Tracing in VB.NET

How do I define the Trace Constant for a Web Site in VB.NET to enable trace output? I know where it is for web applications, but I cannot find it for web sites.

Upvotes: 0

Views: 439

Answers (1)

Tomas Kirda
Tomas Kirda

Reputation: 8413

Web Site is web application. You can enable it in web.config:

<system.web>
 <trace enabled="true" pageOutput="true"/>
</system.web>

Upvotes: 1

Related Questions