Remote Debugging a .NET Core Linux app in WSL2 from Visual Studio on Windows

1 · Scott Hanselman · Dec. 3, 2019, 10:33 p.m.
Summary
With Visual Studio Code and WSL (Windows Subsystem for Linux) you can be in a real Linux environment and run "code ." from the Linux prompt and Visual Studio Code will launch in Windows and effectively split in half. A VSCode-Server will run in Linux and manage the Language Services, Debugger, etc, while Windows runs your VS Code instance. You can use VS Code to develop on remote machines over SSH as well and it works great. In fact there's a whole series of Remote Tutorials to check out here. V...