How to run Microsoft Teams sample app in debug mode?

Matt Gillam 1 Reputation point
2022-04-06T15:46:11.737+00:00

I am using this app https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-personal-sso-quickstart/csharp_dotnetcore

It works fine.

I wish to extend the functionality - specifically in auth.js - so I need to be able to run it in Debug mode.

I have tried for some time but have no success getting a breakpoint hit. I use the instructions at https://devblogs.microsoft.com/microsoft365dev/debugging-microsoft-teams-app-locally-with-teams-toolkit as guidance but have no success. (In particular I don't have 'Debug (Chrome)' or same for Edge available as a config in VS Code.

Can anyone point to guidance on this please or perhaps advise if I need a specific launch.json config

Thanks

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,823 questions
{count} votes