With Visual Studio, I can debug my .NET Core applications running in Windows and WSL 2. For WSL 2, I use this extension. This is working fine. I can also debug my unit tests