Summary
This chapter looked at troubleshooting applications running in containers, along with debugging and instrumentation. Docker is a new application platform, but applications in containers run as processes on the host, so they're still suitable targets for remote debugging and centralized monitoring.
Support for Docker is available in all the current versions of Visual Studio. Visual Studio 2017 has complete support, covering Linux and Windows containers. Visual Studio 2015 and Visual Studio Code currently have extensions that provide debugging for Linux containers, but you can easily add your own support for Windows containers.
In this chapter, I also introduced Prometheus, a lightweight instrumentation and monitoring component that you can run in a Windows Docker container. Prometheus stores the metrics it extracts from applications running on other containers. The standardized nature of containers makes monitoring solutions such as these very simple to configure.
The next chapter is...