Skip to content

Load ETW module from a specified path - #39599

Merged
Ryan Cavanaugh (RyanCavanaugh) merged 1 commit into
microsoft:masterfrom
mrcrane:etw-module-path
Jul 14, 2020
Merged

Load ETW module from a specified path#39599
Ryan Cavanaugh (RyanCavanaugh) merged 1 commit into
microsoft:masterfrom
mrcrane:etw-module-path

Conversation

@mrcrane

Copy link
Copy Markdown
Contributor

Do not rely on the default module resolution algorithm to load the optional typescript-etw module. Load it from the node_modules path that is local to the running server. This is where it is shipped with the Windows TypeScript SDK.

Also allow the path to be specified with the TS_ETW_MODULE_PATH environment variable. This will enable new use cases, e.g. VS Code.

@RyanCavanaugh

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-3.9

@typescript-bot

TypeScript Bot (typescript-bot) commented Jul 14, 2020

Copy link
Copy Markdown
Contributor

Heya Ryan Cavanaugh (@RyanCavanaugh), I've started to run the task to cherry-pick this into release-3.9 on this PR at c8d5b98. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Ryan Cavanaugh (@RyanCavanaugh), I've opened #39601 for you.

TypeScript Bot (typescript-bot) pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
@RyanCavanaugh

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-3.9

@typescript-bot

TypeScript Bot (typescript-bot) commented Jul 14, 2020

Copy link
Copy Markdown
Contributor

Heya Ryan Cavanaugh (@RyanCavanaugh), I've started to run the task to cherry-pick this into release-3.9 on this PR at c8d5b98. You can monitor the build here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Ryan Cavanaugh (@RyanCavanaugh), I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-3.9 manually.

TypeScript Bot (typescript-bot) pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
Ryan Cavanaugh (RyanCavanaugh) pushed a commit that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path

Co-authored-by: Michael Crane <micran@microsoft.com>
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) merged commit f68a839 into microsoft:master Jul 14, 2020
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants