Debugging applications is a broad topic and involves a lot of techniques depending on the need—it may involve detailed telemetry, traces, or performance counter analysis. From a developer perspective, there is one technique that is especially important: working with a code debugger. One of the problems with containerized workloads is that they are relatively heavy to debug using standard tools such as Visual Studio—the processes are not running locally and you cannot easily attach the debugger as if it was a local process. In this section we will show the following:
- How to access application logs produced by log monitor
- How to enable Visual Studio remote debugging via kubectl port forwarding
Accessing application logs is straightforward as it involves the standard kubectl logs command. In production scenarios, you would probably use Azure...