microsoft / vscode-js-debug

A DAP-compatible JavaScript debugger. Used in VS Code, VS, + more
MIT License
1.67k stars 283 forks source link

feat: improve display of HTML in the debugger #2077

Closed connor4312 closed 2 months ago

connor4312 commented 2 months ago

Advertises ANSI styles as proposed in https://github.com/microsoft/debug-adapter-protocol/issues/500, though it works without them too, just without colors!

Previously the Nodes were displayed as naive objects, so we'd just list their properties, which was quite useless when trying to get a handle on the DOM. Now we display their children as the primary element display, and have "Node Attributes" in a separate section.

Refs https://github.com/microsoft/vscode/pull/227729 Closes https://github.com/microsoft/vscode-js-debug/issues/2076