Skip to content

.NET Core Attach support for Windows containers #1662

@v-dantch

Description

@v-dantch

OS: Windows
Build Version: 20200225.1
Regression: Not a Regression

Repro Steps:

  1. Switch to Windows Containers mode.
  2. Create a ASP .NET Core web app by "dotnet new mvc".
  3. Open this project in VS Code --> Prompt to add the required assets --> Yes.
  4. F1 --> Type and select "Docker: Add Docker Files to Workspace" --> ASP .NET Core --> Windows--> Include optional Docker Compose files --> Enter ports: the default 80,443.
  5. Right click the docker-compose.yml --> Select "Compose Up".
  6. Open launch.json file --> Add "Docker: .NET Core Attach (Preview)" configuration.
  7. Debug with "Docker: .NET Core Attach (Preview)" configuration.

Expect:
Succeed to debug.

Actual:
Fail to debug with error "Process exited with code 126".
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions