-
Notifications
You must be signed in to change notification settings - Fork 676
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
[Question] How to debug .NET Core apps inside Docker container #1683
Comments
Do you mean a Windows container? Or a Linux container running on a Windows host? |
Currently, I want to debug Linux container running on a Windows host. |
Linux containers should work using a 'pipeTransport' of docker.exe. Windows containers are not currently supported. You would need to use full VS for that. |
Thanks @gregg-miskelly for the info! |
@formulahendry #1369 has an example of using pipeTransport for .NET Core app in a Linux container. We do not have any official documentation on Docker but someone wrote a guide at https://github.com/sleemer/docker.dotnet.debug |
Thanks @WardenGnaw ! |
If you have any other questions feel free to reopen this issue. I will be closing it for now. |
Hi @WardenGnaw , I am here again to ask whether we have plan to support debugging Windows container? Thanks! (BTW, seems I am not able to reopen the issue.) |
@formulahendry Which Windows container are you looking to use, windowservercore or nanoserver? |
nanoserver |
Open an separate issue #2195 to track the feature request of supporting debugging .NET Core apps in Docker Windows Container |
Too much drama just to even debug a hello world app. |
From this doc, I see the C# extension supports remote debugging through different transports (include Docker).
And in this post, I see it could debug a .NET Core console app inside Docker on Mac.
I want to know whether there is any guideline to debug a .NET Core console app insider Docker on Windows? How could I set the launch.json. Thanks!
The text was updated successfully, but these errors were encountered: