I thought I had recently seen a developer open the dev tools from inside the Microsoft Teams desktop client (for Windows), but I can't easily replicate that.
Shortcuts like
Strg+Shift+I, Strg+Alt+I, Shift+Alt+I,
F12, Strg+F12, Shift+F12, Strg+Shift+F12, Strg+Alt+F12
don't work.
The reason I am not just using the browser version is that the same app behaves differently in browser and desktop version which makes these dev tools kind of necessary for debugging.
From the Teams main panel, along the top, you'll find tabs. These tabs are how you select various Microsoft Teams tools and add them to your Teams window.
Select the ASP.NET and web development workload. On the right, expand the ASP.NET and web development section and select Microsoft Teams development tools in the Optional list of components. Select Install or Modify in the Visual Studio Installer to complete the installation process.
On your Microsoft Office home page, you will see a purple Teams icon on the left-side menu of Microsoft Office 365 apps. If you do not see this icon, click on the nine-dot button in the top left corner to open the menu with all apps. 6. Click this icon to open Teams in your browser.
Install teams Desktop. Official Link given below,
https://products.office.com/en-in/microsoft-teams/download-app
If Dev mode is enabled, Right-click the Teams tray icon and choose Open Dev Tools.
Else, Enable Dev Mode by following below steps,
Update:
Now a new menu called DevTools opens as shown in image. Previously lot of dev options will show directly.
Here's the piece of code that adds the developer menus to microsoft teams:
trayDockMenuClickedDebugModeCheck() {
if (this.isDebugModeEnabled() || appConfig.getInstance().getSetting(constants.settings.debugMenuDisabled)) {
return;
}
this.debugMenuClickCount++;
if (this.debugModeClickTimer) {
clearTimeout(this.debugModeClickTimer);
this.debugModeClickTimer = null;
}
if (this.debugMenuClickCount >= 4) {
this.loggingService.logInfo('Enabling debug mode. Click count:' + this.debugMenuClickCount);
this.debugModeEnabled = true;
this.eventingService.emit(constants.events.debug.debugModeToggle);
}
else {
this.debugModeClickTimer = setTimeout(() => {
this.debugMenuClickCount = 0;
}, constants.timeInMiliseconds.second * 30);
}
}
Basically you have to click fast 4 times or more in the tray icon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With