I have VS 2019 community ver 16.9.4. I've done the following:
I'm getting the following error message:
One or more errors occurred.
Failed to launch debug adapter. Additional information maybe available in the output window.
The operation was canceled.
My output window says:
The program '' has exited with code -1 (0xffffffff).
I can confirm that I installed sdk in WSL2 ubuntu 20.04:
> dotnet --list-sdks
3.1.408 [/usr/share/dotnet/sdk]
5.0.202 [/usr/share/dotnet/sdk]
Any ideas?
You need to install vsdbg in WSL. Run this command in WSL.
curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l ~/vsdbg
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With