如何调试反向通道

how to debug backchannel

我正在关注这个交接示例:https://github.com/ankitbko/human-handoff-bot

我想调试代码并查看代理的 "Connect" 按钮如何工作 - 了解它如何将代理添加到池中(因为我总是收到消息 All our customer care representatives are busy at the moment. Please try after some time.)。

我按照说明设置了 ngrok: using command ngrok.exe http --host-header=rewrite <port number>

我有代理 UI 工作,我从 UI 看到我已连接,但我从未输入我的代码断点。当我尝试更新消息时,我看到它总是显示我发布的内容,而不是我在本地拥有的内容。我假设我总是连接到已发布的机器人,而不是我在本地拥有的 运行...如何调试本地代理代码?

您是否更改了机器人注册的消息端点?

此博客 post 可能会有帮助:https://blog.botframework.com/2017/10/19/debug-channel-locally-using-ngrok/