I created a new 'Tab' app using the teams toolkit. the scaffolded code includes an azure function that is running locally. When I Debug the code using the Debug in Teams (Edge) option, everything runs fine and the scaffolded azure function gets called , but ant breakpoint i set on the azure function code are not hit.
How do I debug both the frontend Teams code and the azure function, at the same time, locally?
The scaffolded code is not configured VSCode debugger for Azure Functions by default.
You may try attach to the debugging process from VSCode by updating your launch.json.
You can find a complete sample here: https://github.com/OfficeDev/TeamsFx-Samples/blob/dev/hello-world-tab-with-backend/.vscode/launch.json