Howto Enable SharePoint’s Debug Mode
I have met many SharePoint developers and administrator that can not provide detail information of the error. Most of them do not know, how to enable SharePoint’s debug mode. There are lot of guidance in internet, but I will just write here as this is very basic information that every developer or SharePoint administrator must know! In order to enable SharePoint’s debug mode, 3 places that you need to modify in web.config:
- Callstack = “true”
- customErrors mode = “Off”
- compilation debug = “true”
But where is the web.config?
You can open IIS Manager, and right click to the SharePoint web application that you work on

Click Explore
Open web.config in Notepad
Search for above keyword and modify
Here is how the final web.config looks like


