diff --git a/src/Umbraco.Core/PropertyEditors/PropertyEditor.cs b/src/Umbraco.Core/PropertyEditors/PropertyEditor.cs index baa1431f29..9b39f2be0b 100644 --- a/src/Umbraco.Core/PropertyEditors/PropertyEditor.cs +++ b/src/Umbraco.Core/PropertyEditors/PropertyEditor.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using Newtonsoft.Json; using Umbraco.Core.IO; @@ -13,6 +14,7 @@ namespace Umbraco.Core.PropertyEditors /// /// The Json serialization attributes are required for manifest property editors to work /// + [DebuggerDisplay("{DebuggerDisplay(),nq}")] public class PropertyEditor : IParameterEditor { private readonly PropertyEditorAttribute _attribute; @@ -162,5 +164,13 @@ namespace Umbraco.Core.PropertyEditors { return Alias.GetHashCode(); } + + /// + /// Provides a summary of the PropertyEditor for use with the . + /// + protected virtual string DebuggerDisplay() + { + return string.Format("Name: {0}, Alias: {1}, IsParameterEditor: {2}", Name, Alias, IsParameterEditor); + } } } \ No newline at end of file