Debugging with Visual Studio 2022

https://www.pluralsight.com/courses/visual-studio-2022-debugging

by Erik Dahl

Mod 1: Course Overview

  • Course Overview

Mod 2: Basic and Next-level Debugging

  1. Introduction and Welcome
  2. Version Check
  3. Our Application
    • shows how to make multiple projects startup projects
  4. Debugging Is Useful!
  5. Demo: Debugging Starts in the IDE
  6. Demo: Launching, Breakpoints, and Stepping
  7. Demo: Viewing Data and Hot Reload
    • Text Visualizer, a feature of the debugger in visual studio, can decode a JWT token
  8. Demo: Other Debug Windows
Mod 3: Attaching the Debugger
  1. Introduction
  2. Attaching to a Running Process
    • shows how to attach a debugger for a dotnet application launched from command line
  3. Launch Settings - Kestrel and IIS Express
  4. Debugging a NuGet Package
    • if you want to debug a nuget package, you need to disable 'Enable Just My Code' from the Options menu
      • you need to also turn on 'Enable Source Link support'
      • you need to also enable 'Microsoft Symbol Servers' and 'Nuget.org Symbol Server'
    • when c# code is compile with Debug mode, files with a PDB extension get created, aka symbol files
  5. Debugging NuGet Packages with No Symbols Loaded
    • shows how to view loaded symbols
    • shows how find symbol files from nuget.org
    • shows how to unzip a nupkg file
  6. More Launch Settings - WSL (Windows Subsystem for Linux)
    • describes how to install WSL
  7. Running and Debugging with Docker
  8. Using Docker Compose
  9. Debug a Running Azure App Service
    • from Attach To Process window, you can attach a debugger running on Azure
Mod 4: Leveraging Visual Studio Tools
  1. Introduction
  2. Using .http Files During API Development
    • demonstration of how to use http files in visual studio
      • you can make GET and POST requests right in visual studio
  3. What Are Dev Tunnels?
    • dev tunnel exposes a public DNS location to hit a local instance of an app
      • similar to ngrok
  4. Using Dev Tunnels to Test a Github Webhook
    • demo of creating a dev tunnel
  5. Benefits of LiveShare
  6. Using LiveShare: Visual Studio to Visual Studio
  7. Using LiveShare: Visual Studio to Browser
  8. Using IntelliTrace
  9. Closing Thoughts

Comments

Popular posts from this blog

Angular Routing and Navigation Playbook

Working with Files in C# 10

Mastering Git