Visual Studio 2022 with project files in wsl file system, debugger not showing std:out and std:err of linux terminal


Today I had to migrate a Repository at work to WSL due to internal tooling that is needed. After migrating I mounted the WSL FS as Network-Drive to D:\ and opened the solution from there.
I started the http debugger profile (asp.net core on .net8) and the output was empty.
I have tried editing the debugger settings of Visual Studio but this did not help at all.

The WSL has dotnet installed and I think the API starts but I don’t know if it really does.

And this is where the second issue is: Either Visual Studio says it couldn’t mount to the specified port I get a popup that it couldn’t mount the http server.

I currently don’t know how to fix this. Is there anything else that I can try?

Visual Studio used: Visual Studio 2022 Professional (17.14.13)
WSL used: Ubuntu 24.04

Leave a Reply

Your email address will not be published. Required fields are marked *