X Tutup
The Wayback Machine - https://web.archive.org/web/20210721151828/https://github.com/microsoft/TypeScript/pull/40308
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for customDescriptionGenerators (for compiler debugging) #40308

Merged
merged 1 commit into from Sep 3, 2020

Conversation

@rbuckton
Copy link
Member

@rbuckton rbuckton commented Aug 28, 2020

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.

@rbuckton rbuckton force-pushed the customDescriptionGenerator branch from c4566b6 to 73e870f Aug 28, 2020
]
],

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

This comment has been minimized.

@andrewbranch

andrewbranch Aug 31, 2020
Member

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

@rbuckton rbuckton merged commit d896353 into master Sep 3, 2020
8 checks passed
8 checks passed
@github-actions
build (10.x)
Details
@github-actions
build (12.x)
Details
@github-actions
build (14.x)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@microsoft-cla
license/cla All CLA requirements met.
Details
@azure-pipelines
node10 Build #83651 succeeded
Details
@azure-pipelines
node12 Build #83649 succeeded
Details
@azure-pipelines
node14 Build #83650 succeeded
Details
@rbuckton rbuckton deleted the customDescriptionGenerator branch Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
X Tutup