console.log outputs string, not object structure RRS feed

  • Question

  • I noticed that from one day to another, my console output in Visual Studio is not showing JavaScript object structures anymore but plain text. For example:
    var ar = [{id: "1", name: "Plain"},{id: "2", name: "Bee"}];

    The result in the VS JavaScript console is
    [object Object],[object Object]

    instead of a tree structure. I know I could use

    but for larger objects, this is hardly an option. Are there any settings to get my tree structure back?

    Wednesday, November 30, 2016 11:29 AM

All replies