Skip to content

Conversation

rbuckton
Copy link
Contributor

This adds a custom watch/locals description generator for use when debugging the compiler using the new "customDescriptionGenerators" feature recently added to the new preview js debugger for VS Code.

This adds custom Watch window descriptions for the following kinds of objects in the compiler:

  • Symbol
  • Type
  • Node
  • NodeArray
  • FlowNode

Examples:

image

image

Instructions for enabling this when debugging can be found in .vscode/launch.template.json.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Aug 28, 2020
]
],

// NOTE: To use this, you must switch the "type" above to "pwa-node". You may also need to follow the instructions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this comment will be obsolete in the next VS Code release.

@rbuckton rbuckton merged commit d896353 into master Sep 3, 2020
@rbuckton rbuckton deleted the customDescriptionGenerator branch September 3, 2020 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants