OS: Win 10/Mac
Build Version: 20200722.19
Repro Steps:
- Create a .NET Core mvc app by "dotnet new mvc --name mvctest".
- Open the project in VS Code --> Prompt to add the required assets --> Yes
- F1 --> Type and select "Docker: Add Docker Files to Workspace" --> ASP.NET Core --> Linux --> Include optional Docker Compose files.
- Right click the docker-compose.yml --> Select "Compose Up".
- Open launch.json and click 'Add Configration…', and choose 'Docker .NET Core Attach (Preview)'.
- Run the above configuration, select the running container from step4 and click yes to copy debugging to the container.
- Disconnect this attach, then F5 and connect to the same container.
Expect:
There shouldn't be any prompt to copy debugger.
Actual:
The dialog "Do you want to copy the debugger to the container" still pops up.

More Info:
This issue does not reproduce on the latest released Docker extension build.