Skip to content

The "copy debugger" notification still pops up when running 'Docker .Net Core Attach (Preview)' configuration again #3758

@v-ruizh

Description

@v-ruizh

OS: All
Build Version: 20221206.1
Regression: Previous Release

Repro Steps:

  1. Create a .NET Core MVC project by "dotnet new mvc --no-https".
  2. Open the project in VS Code -->
    F1 --> Type and select "Docker: Add Docker Files to Workspace" --> ASP.NET Core --> Linux --> Include optional Docker Compose files.
  3. Right click the docker-compose.yml --> Select "Compose Up".
  4. Open launch.json and click 'Add Configration…', and choose 'Docker .NET Core Attach (Preview)'.
  5. Run the above configuration, select the running container from step4 and click yes in the below notification to copy the debugger on the container.
    image
  6. Stop debugging.
  7. Debug again and select the running container.
  8. Check there shouldn't be any "copy debugger" notification.

Expect:
There shouldn't be any "copy debugger" notification.

Actual:
The "copy debugger" notification pops up again.
image

More Info:
This issue does not reproduce on the previous released Docker extension 1.23.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions