From f42a3d3512f050f9597fbdf13fe016eb554dc643 Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Thu, 6 Apr 2017 23:36:02 +0200 Subject: [PATCH] show empty property names as ""; fixes Microsoft/vscode#24143 --- src/node/nodeDebug.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/node/nodeDebug.ts b/src/node/nodeDebug.ts index 9fb9b68b..d9e1bf67 100644 --- a/src/node/nodeDebug.ts +++ b/src/node/nodeDebug.ts @@ -2663,6 +2663,10 @@ export class NodeDebugSession extends LoggingDebugSession { return Promise.resolve(null); } + if (!name) { + name = '""'; + } + const simple = val; switch (val.type) {