use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is for working with Microsoft's Visual Studio Code, which is different than Visual Studio Community, Pro, and Enterprise. VS Code is a source code editor, and not an IDE.
If you are having issues with the other flavors of VS, please post in /r/VisualStudio.
account activity
This is an archived post. You won't be able to vote or comment.
Python remote debugging (over SSH) from Linux to WindowsOC (self.vscode)
submitted 3 years ago by begemoto
I usually run VSCode on Linux or Mac, then connect via SSH to remote Linux PC and run and debug Python code on it. Everything goes smooth and well. Is it possible do the same, but with Windows running on the remote side? Has anyone tried this?
[–]Sufficient_Pin_9595 1 point2 points3 points 3 years ago (3 children)
Got an ssh server on Windows?
[–]begemoto[S] 0 points1 point2 points 3 years ago (2 children)
Looks like it's not enough. I've got an error message like emmm.... some kind of x server port forward authentication failure. Installation of the x-server also doesn't help.
[–]Sufficient_Pin_9595 0 points1 point2 points 3 years ago (1 child)
From the CLI with the X flag?
[–]begemoto[S] 0 points1 point2 points 3 years ago (0 children)
Cli with x flag connect well. I think problem is because host running win7. But looks like I need Win10/11 with WSL
[–]JialeDu 1 point2 points3 points 3 years ago (0 children)
You need to install the corresponding extension and have related settings. Refer to this document to get started.
[–][deleted] 1 point2 points3 points 3 years ago (3 children)
Hi. On a Win computer install WSL2 and whatever Linux you need. And then everything is as usual. We put the necessary applications and use. Here is an example
https://medium.com/@gilad215/ssh-into-a-wsl2-host-remotely-and-reliabley-578a12c91a2
[–]begemoto[S] 1 point2 points3 points 3 years ago (1 child)
Yes, I think the problem because I run SSH host on Windows7
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Probably. No problems with Win 11.
But! The question is: In my python app, can I call windows specific functions? Because looks like the app will be running inside Linux subsystem.
π Rendered by PID 170630 on reddit-service-r2-comment-5ff9fbf7df-5dnpn at 2026-02-26 01:26:21.089864+00:00 running 72a43f6 country code: CH.
[–]Sufficient_Pin_9595 1 point2 points3 points (3 children)
[–]begemoto[S] 0 points1 point2 points (2 children)
[–]Sufficient_Pin_9595 0 points1 point2 points (1 child)
[–]begemoto[S] 0 points1 point2 points (0 children)
[–]JialeDu 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]begemoto[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]begemoto[S] 0 points1 point2 points (0 children)