Add "Disconnect single session" command
See original GitHub issueThis needs some explanation and what I do isn’t as wrong as the title suggests: I have ~/Code/vscode
for our sources and I have ~/Code/_samples/dummy-extension
in which I try out and test API. The extension is sym-linked into ~/.vscode-oss-dev/extensions
. This allows me to make changes in the extension and VS Code itself and easily test things
- from
vscode
run/debug VS Code (it debugs everything: main, renderer, ext-host - in
dummy-extension
set a breakpoint in some extension code (where else) - from
dummy-extension
attach to extension host (to apply those breakpoints) - run the code, hit the breakpoint, and step in/out/over
- 😕 the windows randomly change focus, both are debugging the extension host (naturally)
I don’t know how you would implement this but the window at which breakpoint was most recently hit should be the active one
https://user-images.githubusercontent.com/1794099/185606414-e99243f8-2c34-44f3-afbb-d46fd900241b.mov
Issue Analytics
- State:
- Created a year ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
about Remote Disconnected Sessions - PowerShell
To create a disconnected session, use the InDisconnectedSession parameter of the Invoke-Command cmdlet. It creates a session, starts the command ...
Read more >Scripting - How to disconnect Remote Desktop sessions?
The TSDiscon command will disconnect terminal services (RDP) sessions. Used on its own will disconect the current session, ...
Read more >PowerShell disconnected remote sessions - 4sysops
If multiple sessions are running on the remote computer, the above command will connect them all to your current session. Once you are...
Read more >How to set time limit for disconnected sessions Windows ...
In each user's properties window, under sessions tab, you can change the default of “end a disconnected session” from NEVER to X hours/days...
Read more >Logoff Remote Desktop Sessions from the Command Line
This will show you a list of all sessions logged into that server. If you want to logoff one of these sessions, run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d recommend not attaching to the EH process in the vscode window (you will need to change launch.json for this or add your own config which you could do in a workspace) or you can disable
debug.focusWindowOnBreak
in the vscode window. I think that doing exactly what you want will be really complicated.This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!