var list = new List<string>();
var a = "test";
list.Add(a);
On wasm:

In a console app:

Items is DebuggerRootHidden, so I think it should not show.
| [DebuggerBrowsable(DebuggerBrowsableState.RootHidden)] |
When fixed, remove else block from:
| else |
| { |
| // a collection - expose elements to be of array scheme |
| varmemberNamedItems=members |
| .Where(m =>m["name"]?.Value<string>()=="Items"||m["name"]?.Value<string>()=="_items") |
| .FirstOrDefault(); |
| if(memberNamedItemsis not null&& |
| (DotnetObjectId.TryParse(memberNamedItems["value"]?["objectId"]?.Value<string>(),outDotnetObjectIditemsObjectId))&& |
| itemsObjectId.Scheme=="array") |
| { |
| rootObjectId=itemsObjectId; |
| } |
| } |
On wasm:


In a console app:
ItemsisDebuggerRootHidden, so I think it should not show.runtime/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ICollectionDebugView.cs
Line 19 in 215b39a
When fixed, remove
elseblock from:runtime/src/mono/wasm/debugger/BrowserDebugProxy/MemberObjectsExplorer.cs
Lines 149 to 161 in 8064bfe