SharePoint environment works with release mode java scripts which can not be (hardly) debug easily. if you want to load debug scripts resides on layout folder rather than release scripts you need to change the master page’s script manger tag.
Open the master page and alter the ScriptManager tag and scriptmode to debug.
then you can see SharePoint loads debug scripts.
Comments