'How to show a console window when debugging a C# app through WSL in Visual Studio?
I've followed the instructions shown here to get WSL running, and I can successfully debug my C# application on Windows in a Linux environment.
The problem is that by default, there is no console shown for a Console App if I run through WSL. The VS Immediate window is functional, so I can see the output of my application, but I can't use Console.ReadLine() for example.
Any help with a visual studio setting, or a programmatic way to allocate a console in WSL during runtime is appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
