devex: Enable Electron MCP servers with DevTools debug port (#25795)

This commit is contained in:
Luke Parker 2026-05-05 11:37:18 +10:00 committed by GitHub
parent f33b17e8ac
commit 2740d398fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,7 @@ setupApp()
function setupApp() {
ensureLoopbackNoProxy()
app.commandLine.appendSwitch("proxy-bypass-list", "<-loopback>")
if (!app.isPackaged) app.commandLine.appendSwitch("remote-debugging-port", "9222")
if (!app.requestSingleInstanceLock()) {
app.quit()