1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00

Enabled devtools

This commit is contained in:
Todd Martin
2025-03-30 21:31:05 -04:00
parent 907abc9dae
commit 7a3fb9bd8b
2 changed files with 2 additions and 6 deletions

View File

@@ -5,8 +5,6 @@ import { MenuItemConstructorOptions } from "electron";
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
import { isDev } from "../../utils";
import { IMenubarMenu } from "./menubar";
export class ViewMenu implements IMenubarMenu {
@@ -32,9 +30,7 @@ export class ViewMenu implements IMenubarMenu {
this.reload,
];
if (isDev()) {
items.push(this.toggleDevTools);
}
items.push(this.toggleDevTools);
return items;
}

View File

@@ -274,7 +274,7 @@ export class WindowMain {
backgroundThrottling: false,
contextIsolation: true,
session: this.session,
devTools: isDev(),
devTools: true,
},
});