SOLVED

DevTools shuts down when "Reload tab" selected.

%3CLINGO-SUB%20id%3D%22lingo-sub-2185030%22%20slang%3D%22en-US%22%3EDevTools%20shuts%20down%20when%20%22Reload%20tab%22%20selected.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185030%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI'm%20trying%20to%20use%20the%20Teams%20DevTools%20to%20debug%20some%20code%20in%20a%20Teams%20tab%2C%20which%20is%20executed%20when%20the%20tab%20is%20first%20rendered.%20However%2C%20when%20I%20select%20the%20%22Reload%20tab%22%20button%20to%20trigger%20the%20code%20to%20be%20executed%2C%20the%20Devtool%20tools%20shuts%20down.%20As%20a%20result%2C%20my%20breakpoint%20is%20never%20hit.%20Is%20there%20any%20way%20to%20debug%20code%2C%20which%20is%20executed%20when%20the%20tab%20is%20first%20rendered%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EGeorge%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2185030%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%20Tools%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevtools%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Development%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2211030%22%20slang%3D%22en-US%22%3ERe%3A%20DevTools%20shuts%20down%20when%20%22Reload%20tab%22%20selected.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2211030%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F721379%22%20target%3D%22_blank%22%3E%40George71%3C%2FA%3E%2C%20I%20am%20able%20to%20repro%20the%20issue.%20%3CBR%20%2F%3EAlternative%20way%20is%20that%2C%20you%20can%20debug%20in%20browser%20by%20inspecting%20the%20page%2C%20you%20can%20also%20use%20debug%20pointers%20in%20the%20browser.%3C%2FLINGO-BODY%3E
Contributor

Hi,

I'm trying to use the Teams DevTools to debug some code in a Teams tab, which is executed when the tab is first rendered. However, when I select the "Reload tab" button to trigger the code to be executed, the Devtool tools shuts down. As a result, my breakpoint is never hit. Is there any way to debug code, which is executed when the tab is first rendered?


Thanks,
George

3 Replies
best response confirmed by George71 (Contributor)
Solution
Hi @George71, I am able to repro the issue.
Alternative way is that, you can debug in browser by inspecting the page, you can also use debug pointers in the browser.
@George71 Any update on this?
Thanks for the information. I guess this is a flaw in the Teams DevTools debugger and the only workaround is to use a browser debugger.