src/vs/platform/native/electron-main/nativeHostMainService.ts/NativeHostMainService/toggleDevTools
class NativeHostMainService:	async toggleDevTools(windowId: number | undefined): Promise<void> {
		const window = this.windowById(windowId);
		if (window?.win) {
			const contents = window.win.webContents;
			contents.toggleDevTools();
		}
	}