We can configure basic website diagnostic settings through the Server Explorer window in Visual Studio by right-clicking on the website and selecting View Settings:
We can configure Web Server Logging, Detailed Error Messages, Failed Request Tracing, Application Logging (File System only, not storage), and Remote Debugging. This example shows Web Server Logging enabled; to apply changes, click on Save:
The same settings with some more advanced options (which we will cover in more detail in this section) are available in the CONFIGURATION tab in the website's workspace.