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
Select inspect under the tab you wish to debug, as in the following image: