Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Attach config for dotnet core compose #1652

Closed
wants to merge 1 commit into from

Conversation

ravipal
Copy link
Contributor

@ravipal ravipal commented Feb 25, 2020

When compose is selected during scaffolding, the 'Docker .NET Core Attach (Preview)' debug config is added automatically.

fixes #1543

@ravipal ravipal requested a review from a team as a code owner February 25, 2020 01:23
netCore: {
appProject: unresolveWorkspaceFolder(options.appProject, context.folder)
}
let debugConfigurations : DockerDebugConfiguration[] = [{
Copy link
Collaborator

@bwateratmsft bwateratmsft Feb 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would if/else this. The .NET Core launch config probably not work in the expected way if a compose file is present (i.e. it will not use compose at all, users might be confused by this). Also, if compose I would also not add the docker-build / docker-run tasks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get it. Why would single not work if compose file is present?

@bwateratmsft bwateratmsft added this to the 0.11.0 milestone Feb 25, 2020
@ravipal ravipal closed this Feb 25, 2020
@bwateratmsft bwateratmsft deleted the ravipal/addAttachConfigDuringCompose branch September 22, 2020 18:21
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[.NET Core] Add Docker Compose support
2 participants