I am developing a custom tab for microsoft teams app. For the application inside the custom tab, I need to debug the javascript code flow, like we do in desktop browser. Is there any way we can achieve that.?
As explained in DevTools for Microsoft Teams tabs help page:
You can also enable the DevTools from the Teams Android client. To enable DevTools, you must:
Enable the developer preview.
Connect your device to your desktop computer, and set up your Android device for remote debugging.
In your Chrome browser, open chrome://inspect/#devices
.
Select inspect under the tab you wish to debug, as in the following image: