Debugging .NET Core in Docker with VSCode

preview_player
Показать описание

Hey folks! In this video, I am taking you through a series on docker based development workflows. How to setup, write code, build code, debug , test and do all this inside docker containers. This helps keep development environments really clean and removes coupling of stuff on your system to the code you ship to production. Feel free to follow along, source code is below.
Like and Subscribe! More parts coming soon!

Also if you want to support the channel further, become a member 😎

Checkout "That DevOps Community" too

Source code:

Follow me on socials

Music:

Track: Puar - GEMS W/ sin
Рекомендации по теме
Комментарии
Автор

Man you are awesome! I spent much time to understand how it works!!! It only took you 4 minutes to make it all clear! :))) Thanks a lot!

xpoftik
Автор

Nice succint guide to debugging docker containers! I'm about to go try your advice as we're deep into an automated testing and being able to quickly bind a debugger to a container under test on the workstation would be amazing. Thanks.

rabidtommy
Автор

Thanks, just convinced me to go ahead and learn to use docker for development, seems cool and very nice explained in the video. Subbed :D

xmesaj
Автор

That's actually so usefull, thanks a lot!

YoMastr
Автор

Straight to the point, I love videos like this.

alissonreinaldosilva
Автор

Hi there!
Thanks for this video!!

Is there an update that should be considered now a days in 2023/2024 or are they pretty much the same configurations to debug a dockerized .net core app?

diegomelgar
Автор

Baie dankie :-) Really helped me, thanks++!

Zwartepiet
Автор

Great stuff! Is this still the way to do it with aspnet core 3.1? As of November 2020?

willemojnr
Автор

What if i want the debugger to catch a line in my program.cs? The code has already run through that, so i don't see how i could trigger it with this method.

keithrunyon
Автор

how to do multiple project debug with docker compose in vscode

fahimabrar
Автор

Thanks for this excellent guide, Marcel! We are using dotnet 2.1 and I see you are using 2.2, which is now end-of-life. Do you know of any reason not to stick with 2.1 sdk, until we ready to migrate?

dfdumaresq
Автор

Hi, Thanks for your help. Please do Ansible with .Net Core and K8s deployment. I fact I have so much video to request in relation to .Net Core... :}

Aamenvi
Автор

Tutorial on = How to expose application metric for an app running inside container to be picked up Prometheus

abhishekpadadale
Автор

Hi Marcel, Loved your videos, mate. Question: Can a Non-programmer learn to debug a program?

babusartop
Автор

Great tutorial, however, I had to solve a few issues: 1. It is "processId": "${command:pickRemoteProcess}", not "processId": "${command:pickProcess}". 2. It is not good practice to run dotnet during build command. You might have problems if you also need to start other dependent containers. Rather build the image by setting an entrypoint (e.g. ENTRYPOINT ["dotnet", "run"] for project workdir), and then the container will start with the final built image.


Thanks!

razvanvalcaneantu