I'm following the process as documented here to connect to a remote process from Visual Studio 2019.
If I select an Alpine based container, this dialog pops up, and hangs Visual Studio.
But an Ubuntu container works just fine. The processes on the container are listed as expected.
Is this a VS or a Alpine issue ? Workarounds ?
I'm on Microsoft Visual Studio Enterprise 2019 Version 16.8.4, with the exact same issue.
It's referenced there: https://github.com/OmniSharp/omnisharp-vscode/issues/2165 and there: https://developercommunity.visualstudio.com/content/problem/1102637/attach-to-process-doesnt-work-on-alpine-based-linu.html
Both references claim it is fixed...
While it was failing for me. After adding procps, it works fine:
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-alpine AS base
RUN apk add --no-cache curl procps