-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teams on Chrome extremely slow and unresponsive - debugger goes crazy #11732
Comments
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned. |
I found a solution to the problem (thanks to microsoft/vscode-js-debug#597): setting |
Thanks for the suggested fix and PR! Let me test Typescript and other apps as well. Will create PR to cover as many apps as possible based on your changes. |
Thanks @swatDong! |
It took me a while to understand why sometimes running my bot was almost impossible: Teams (on Chrome) becomes very slow and, when dev tools are opened, the debugger goes crazy.
So hard to believe that I've made a recording of the behavior: https://youtu.be/DY9hMpFD_6s
To reproduce:
index.js
orteamsBot.js
(same applies if the breakpoint is inside a method)Debug in Teams (Chrome)
Chrome opens and it takes a couple of minutes for the "Add bot" UI to appear. Meanwhile, if you open the Dev Tools, you'll see the debugger going crazy and somehow stopping and starting after each webpack chunk being loaded.
Workaround: remove all breakpoints from your code.
The weird behavior restarts when adding a breakpoint later (when everything is started for example)
Env:
v20.11.1
orv18.20.3
(same for both)"botbuilder": "^4.20.0",
"restify": "^10.0.0"
},
"env-cmd": "^10.1.0",
"nodemon": "^2.0.7"
}
Duplicate from #6898 with more details.
Happy to provide more info if needed.
The text was updated successfully, but these errors were encountered: