How to configure my project for debugging ASP Code?

Platform: ASP.NET|Category: Error Handling

Access the Project properties window.

Select the Configuration Properties for debugging then in right Pane, under the debugger node select true for Enable ASP debugging.