aspnetcore-vueclimiddleware icon indicating copy to clipboard operation
aspnetcore-vueclimiddleware copied to clipboard

Kill child npm task when debugging stops or process exits using Windows Job Objects.

Open BinarySpike opened this issue 3 years ago • 0 comments

I found a way to kill the child task when you stop debugging by associating the npmScriptRunner with a Job Object. I've successfully tested this closes the process tree when stopping debugging in both vscode and Visual Studio 2022.

This is a Windows only modification.

BinarySpike avatar Feb 27 '22 18:02 BinarySpike