question

Serban avatar image
0 Votes"
Serban asked HunaidHanfee-MSFT answered

How do I log a message to the console ?


I developed a small Teams Message Extensions starting from these instructions from Microsoft: https://docs.microsoft.com/en-us/microsoftteams/platform/get-started/first-message-extension?tabs=vscode

Question: how can I log messages, so that I see them in the browser developer tools console when I run the app ?

I tried using console.log but it's not working...

office-teams-app-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

HunaidHanfee-MSFT avatar image
0 Votes"
HunaidHanfee-MSFT answered

Hello,
You cannot log something in browser developer tools console from bot. console.log from bot logs in Visual Studio Code console.

Thanks
Hunaid Hanfee



If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.