Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

FYI Visual Studio has built in support for attaching to Docker #2

Open
gregg-miskelly opened this issue Nov 14, 2019 · 2 comments
Open

Comments

@gregg-miskelly
Copy link

gregg-miskelly commented Nov 14, 2019

Hello,

Sorry in advance if you already know this, but if not, I just wanted to reach out and let you know that Visual Studio, as of Visual Studio 2019 version 16.3, has built in support for attaching to .NET processes running in Linux Docker containers. This can be done by going to 'Debug->Attach to Process...' and changing the 'Connection Type' to 'Docker (Linux Container)'. The initial support for this went out in 16.3, and we fixed a few issues in 16.4. If this extension supports additional functionality: that is great, not trying to take it away, just wanted to make sure you weer aware.

If you have any feedback on Visual Studio's built in support, feel free to either open Visual Studio feedback tickets (from VS: Help->Send Feedback->Report a problem), or open issues in the VS Code C# Extension repo if you think they may be vsdbg related.

Thanks!
Gregg Miskelly
Visual Studio Debugger Developer

@Dreamescaper
Copy link
Owner

@gregg-miskelly
Thanks for notifying!

Extension was created before native support was added, but yeah - probably not much value from that now.

@Avie1
Copy link

Avie1 commented Feb 25, 2021

I found this extension works faster than Visual Studio attach to the process not sure why,
But in Visual Studio attach to process Docker (Linux Container) takes a couple of minutes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants