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
- Introduction and Welcome
- Version Check
- Our Application
- shows how to make multiple projects startup projects
- Debugging Is Useful!
- Demo: Debugging Starts in the IDE
- Demo: Launching, Breakpoints, and Stepping
- Demo: Viewing Data and Hot Reload
- Text Visualizer, a feature of the debugger in visual studio, can decode a JWT token
- Demo: Other Debug Windows
Mod 3: Attaching the Debugger
- Introduction
- Attaching to a Running Process
- shows how to attach a debugger for a dotnet application launched from command line
- Launch Settings - Kestrel and IIS Express
- 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
- 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
- More Launch Settings - WSL (Windows Subsystem for Linux)
- describes how to install WSL
- Running and Debugging with Docker
- Using Docker Compose
- 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
- Introduction
- 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
- What Are Dev Tunnels?
- dev tunnel exposes a public DNS location to hit a local instance of an app
- similar to ngrok
- Using Dev Tunnels to Test a Github Webhook
- demo of creating a dev tunnel
- Benefits of LiveShare
- Using LiveShare: Visual Studio to Visual Studio
- Using LiveShare: Visual Studio to Browser
- Using IntelliTrace
- Closing Thoughts
Comments
Post a Comment