microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
192 stars 6 forks source link

ms-dotnettools.csdevkit and escape-node-job.exe #1068

Closed minoseah629 closed 2 weeks ago

minoseah629 commented 4 weeks ago

Hello, I was going through my task manager and I saw this oddly named process escape-node-job.exe and got me concerned to look if there was some kind of malicious activity on my machine. Then i located the file specifically and saw it lived in ms-dotnettools.csdevkit vs code extension.

Please provide the purpose of this executable.

AArnott commented 2 weeks ago

Node.js spawns child processes within a Windows "job" that has a flag that prevents Watson Error Reporting from collecting telemetry when processes crash. The escape-node-job.exe process is a stub process we use to 'escape' that Windows job and spawn a child process that doesn't have that flag so we can better find and fix bugs in the VS Code extension.