You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change Start Debugging Extension Host on Running Extensions to not require a restart #85422
Currently if you click on Start Debugging Extension Host from the Running Extensions tab it will ask you to restart. This IMO defeats the main purpose of this feature, as the only times I want to do this, is when I am seeing an extension issue that I can't easily reproduce and when to debug it when it is happening.
Related -- it would be great to not attempt to attach in the same vscode instance and instead open a new vscode window to attach from.
VS Code version: Code - Insiders 1.41.0-insider (599c076, 2019-11-22T07:25:24.031Z)
OS version: Windows_NT x64 10.0.19028
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)
Profiling works, but the original request was for the Start Debugging Extension Host button to not require a restart. If you click Start Debugging Extension Host initially, it still shows that prompt. But if you take a profile first, it works.
Activity
weinand commentedon Nov 24, 2019
Johannes Rieken (@jrieken) with the SIGUSR1 approach, there should be no reason to require a restart, right?
eamodio commentedon Nov 25, 2019
Andre Weinand (@weinand) Johannes Rieken (@jrieken) does SIGUSR1 work on Windows?
weinand commentedon Nov 25, 2019
since
SIGUSR1doesn't exist on Windows, node.js provides a functionprocess._debugProcess(pid)to achieve the same.jrieken commentedon Nov 25, 2019
This should do it all:
vscode/src/vs/workbench/services/extensions/common/extensions.ts
Line 216 in 0f2cda1
5 remaining items
jrieken commentedon Jan 27, 2020
To verify: start profiler from the running extensions page and make sure it doesn't prompt for a restart
connor4312 commentedon Jan 28, 2020
Profiling works, but the original request was for the
Start Debugging Extension Hostbutton to not require a restart. If you clickStart Debugging Extension Hostinitially, it still shows that prompt. But if you take a profile first, it works.Enable inspector on running extension host instead of requiring resta…
Debug Extension Host: enable inspector on running extension host inst…