Skip to content

Commit

Permalink
Allow opening dev-tools using keyboard shortcut in Electron (#6262)
Browse files Browse the repository at this point in the history
Fixes #6249

See [Electron docs](https://www.electronjs.org/docs/latest/api/browser-window). We were explicitly disabling the ability to open dev-tools unless `debug.dev-tools` flag is provided.
  • Loading branch information
vitvakatu authored Apr 17, 2023
1 parent 93b9ca7 commit b700679
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/ide-desktop/lib/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ class App {
preload: pathModule.join(paths.APP_PATH, 'preload.cjs'),
sandbox: true,
backgroundThrottling: argGroups.performance.options.backgroundThrottling.value,
devTools: argGroups.debug.options.devTools.value,
enableBlinkFeatures: argGroups.chrome.options.enableBlinkFeatures.value,
disableBlinkFeatures: argGroups.chrome.options.disableBlinkFeatures.value,
spellcheck: false,
Expand Down

0 comments on commit b700679

Please sign in to comment.