src/vs/workbench/contrib/webview/electron-browser/webviewCommands.ts/OpenWebviewDeveloperToolsAction/run
class OpenWebviewDeveloperToolsAction:	async run(accessor: ServicesAccessor): Promise<void> {
		const nativeHostService = accessor.get(INativeHostService);

		const webviewElements = document.querySelectorAll('webview.ready');
		for (const element of webviewElements) {
			try {
				(element as WebviewTag).openDevTools();
			} catch (e) {
				console.error(e);
			}
		}

		const iframeWebviewElements = document.querySelectorAll('iframe.webview.ready');
		if (iframeWebviewElements.length) {
			console.info(nls.localize('iframeWebviewAlert', "Using standard dev tools to debug iframe based webview"));
			nativeHostService.openDevTools();
		}
	}