Debug Teams Desktop Client


These are the instructions to easily debug desktop Teams clients: 

In the full desktop client left click seven times and then right click to get the expanded menu that includes dev tools.

Usually debugging the Teams web app inside chrome is preferable. When this is not possible, due to the issue not being reproduced in the Web Browser, reproduce the issue in the full client and then connect the full client to Chrome, to get debug logs, as shown below.

open PowerShell (or cmd) as an administrator in the directory:

        %appdata%\..\Local\Microsoft\Teams\current


if teams currently run, quit the app:

run the command (in cmd drup the '.\'):
       .\Teams.exe --remote-debugging-port=31337

(or any other port you want)

open Chrome and go to:

      chrome://inspect


make sure the port is configured properly:

click on the inspect link - that's it!


Gathering Teams Client Logs to Send to AGAT