3 ms·
In case you are in Windows, and connected to Linux and/or using WSL, you can also use WinDBG/VisualStudio to debug (remotely) Linux processes!
by malkia 2y ago
In case you are in Windows, and connected to Linux and/or using WSL, you can also use WinDBG/VisualStudio to debug (remotely) Linux processes!
- dgfitz 2y agoAs long as you have gdbserver running on the remote end, no?
- asyx 2y agoThis is usually not how wsl stuff is implemented. Usually applications set up the Windows to WSL communication themselves including Microsoft products. Might be different in this case of course but then the experience would be a lot less smooth than what Microsoft themselves set as the default with the VSCode remote extension.
- dgfitz 2y agoI keyed off “Linux and/or wsl” specifically. I didn’t know wsl had that interoperability cooked in, I would have assumed the vm still needed gdbserver running in order to connect for a “remote” debug session.