Note to self, either put this above the class declaration
[DebuggerDisplay("{Id}: {Name}")]
public class Foo
{
public int Id {get;set;}
public string Name {get;set;}
...
}
or override ToString() method :)
source