<p>I am planning to deploy the Asp.net core based applications on azure kubernetes, how do I debug the deployed application using either VScode or Visual studio?</p>

One Developer
<p>You will have to use <strong>Snapshot Debugger</strong> for Azure Kubernetes.  The Snapshot Debugger takes a snapshot of your in-production apps when code that you're interested in executes. To instruct the debugger to take a <strong>snapshot</strong>, you set <strong>snappoints</strong> and <strong>logpoints</strong> in your code. The debugger lets you see exactly what went wrong, without impacting traffic of your production application. The Snapshot Debugger can help you dramatically reduce the time it takes to resolve issues that occur in production environments.</p>
<p>Snappoints and logpoints are similar to breakpoints, but unlike breakpoints, snappoints don't halt the application when hit. Typically, capturing a snapshot at a snappoint takes 10-20 milliseconds.</p>
<p>You will have to:</p>
<ul>
<li>start the Snapshot Debugger</li>
<li>set a snappoint and view a snapshot</li>
<li>set a logpoint</li>
</ul>
<p>Take a look: <a href="https://learn.microsoft.com/en-us/visualstudio/debugger/debug-live-azure-kubernetes?view=vs-2019" rel="nofollow noreferrer">debug-live-azure-kubernetes</a>, <a href="https://code.visualstudio.com/docs/azure/kubernetes" rel="nofollow noreferrer">vs-azure-kubernetes</a>.</p>
