Assumptions:
- Docker Container running .NET Core RC2 or higher
- App Root in Docker container is /dotnet
- Docker running natively on Linux or new Docker for Windows (https://docs.docker.com/docker-for-windows/)
Instructions:
- Copy get-clrdbg.sh script into docker container, make executable, and run it. It will install clrdbg to /usr/local/bin
- Copy debug.sh to docker container at /root/debug.sh and make executable
- Copy launch.json to the root of your VS Code Project and change "aabbcc112233" in "pipeArgs" to the name or ID of your docker container
Hit the Debug button in Visual Studio Code and watch as your code is remotely debugged!