SharePoint 2010: How To Enable the Developer Console

SharePoint 2010: How To Enable the Developer Console

 This topic is a how to.
Please keep it as clear and simple as possible. Avoid speculative discussions as well as a deep dive into underlying mechanisms or related technologies.

This is a powershell script that will enable the developer console on a sharepoint farm:

$consoleSettings =[Microsoft.Sharepoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings
$consoleSettings.DisplayLevel = "OnDemand"
$consoleSettings.RequiredPermissions = "EmptyMask"
$consoleSettings.TraceEnabled = $true
$consoleSettings.Update()

Short but sweet, now once you visit your SharePoint site you will see a diagnostics icon next to your username on the top bar.

In case you receive errors saying that PowerShell could not find the type Microsoft.Sharepoint.Administration.SPWebService, load the SharePoint dll using following command: 

[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")



Other Languages

This article is also available in the following languages:

Leave a Comment
  • Please add 1 and 7 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 7. Comment: Removed (en-US) from title, added tag

  • yottun8 edited Revision 5. Comment: Added the ja-JP link.

  • Luigi Bruno edited Revision 4. Comment: Fixed a link in the "Other Languages" section.

  • Luigi Bruno edited Revision 3. Comment: Added the "How To" tag.

  • Luigi Bruno edited Revision 2. Comment: Added the "Other Languages" section. Added the "Multi Language Wiki Articles" tag.

  • Luigi Bruno edited Revision 1. Comment: Edited article's title. Added the "How To" Wiki Message Template.

  • Craig Lussier edited Original. Comment: added en-US to tags and title

Page 1 of 1 (7 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Craig Lussier edited Original. Comment: added en-US to tags and title

  • Luigi Bruno edited Revision 1. Comment: Edited article's title. Added the "How To" Wiki Message Template.

  • Luigi Bruno edited Revision 2. Comment: Added the "Other Languages" section. Added the "Multi Language Wiki Articles" tag.

  • Luigi Bruno edited Revision 3. Comment: Added the "How To" tag.

  • Luigi Bruno edited Revision 4. Comment: Fixed a link in the "Other Languages" section.

  • yottun8 edited Revision 5. Comment: Added the ja-JP link.

  • Richard Mueller edited Revision 7. Comment: Removed (en-US) from title, added tag

  • Richard Mueller edited Revision 8. Comment: Replace RGB values with color names in HTML to restore colors

Page 1 of 1 (8 items)