Skip to content

Commit 2740d39

Browse files
authored
devex: Enable Electron MCP servers with DevTools debug port (#25795)
1 parent f33b17e commit 2740d39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/desktop-electron/src/main

packages/desktop-electron/src/main/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ setupApp()
7474
function setupApp() {
7575
ensureLoopbackNoProxy()
7676
app.commandLine.appendSwitch("proxy-bypass-list", "<-loopback>")
77+
if (!app.isPackaged) app.commandLine.appendSwitch("remote-debugging-port", "9222")
7778

7879
if (!app.requestSingleInstanceLock()) {
7980
app.quit()

0 commit comments

Comments
 (0)