Skip to content

The dialog "Do you want to copy the debugger to the container" still pops up for the second debugging #2186

@v-ruizh

Description

@v-ruizh

OS: Win 10/Mac
Build Version: 20200722.19

Repro Steps:

  1. Create a .NET Core mvc app by "dotnet new mvc --name mvctest".
  2. Open the project in VS Code --> Prompt to add the required assets --> Yes
  3. F1 --> Type and select "Docker: Add Docker Files to Workspace" --> ASP.NET Core --> Linux --> Include optional Docker Compose files.
  4. Right click the docker-compose.yml --> Select "Compose Up".
  5. Open launch.json and click 'Add Configration…', and choose 'Docker .NET Core Attach (Preview)'.
  6. Run the above configuration, select the running container from step4 and click yes to copy debugging to the container.
  7. 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.
image

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions