This is a quick extension that adds a View as JSON
on to the debugger variable context menu.
Debug variable visualizers are not built-in to VS Code. Interested? Please upvote: microsoft/vscode#197287
It will display a webview with rendered view of the JSON string as a structured view: