简体   繁体   中英

How to debug a Bot Framework BOT running on Microsoft Teams

I uploaded a BOT in Microsoft Teams, but for some reason, it behaves different than other channels. The bot wont understand my input, and LUIS would return none intent.

In other channels it works well, as well in the BOT Emulator.

This appear to be MS documentation about it, but it doesn't really explain what I need.

There's a way for me to debug the BOT running on Microsoft Teams??

Please! Thank you!

Ngrok is a good tool for setting up your bot on azure and debugging locally. This will help to find issues as you can walk through your code as described here to see where specifically your code is breaking.

The problem with LUIS using Microsoft Teams was that the activity receive the message in HTML. I found this SO question that helped me eliminate the HTML tags. On the other hand, Ngrok is the tool needed to accomplish remote debugging, and this blog describe the steps very well.

Please also look at Jmeter with

BotServiceStressToolkit

Which allows you to do some testing without Ngrok directly to your IIS Express instance while debugging.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM