- Run
docker-compose upto get the database running - Run
dotnet ef database update --context ApplicationDataContextfromsrc/to push the identity tables into the DB - Run
dotnet ef database update --context DataProtectionKeysContextfromsrc/to push the data protection tables into the DB
- Open the root directory in Visual Studio Code
- Place a breakpoint in
src/Controllers/HomeController.cs:28on thereturn View(user);line in theIndex()method. - Run the application using the debugger (using the .NET Core Launch (web) task).
- The application will hit the breakpoint once the browser has launched.
- Mouse over the
uservariable or attempt to expand it in the Variables section in the debug window. This will crash the debugger.