devex: Enable Electron MCP servers with DevTools debug port (#25795)
This commit is contained in:
@@ -74,6 +74,7 @@ setupApp()
|
|||||||
function setupApp() {
|
function setupApp() {
|
||||||
ensureLoopbackNoProxy()
|
ensureLoopbackNoProxy()
|
||||||
app.commandLine.appendSwitch("proxy-bypass-list", "<-loopback>")
|
app.commandLine.appendSwitch("proxy-bypass-list", "<-loopback>")
|
||||||
|
if (!app.isPackaged) app.commandLine.appendSwitch("remote-debugging-port", "9222")
|
||||||
|
|
||||||
if (!app.requestSingleInstanceLock()) {
|
if (!app.requestSingleInstanceLock()) {
|
||||||
app.quit()
|
app.quit()
|
||||||
|
|||||||
Reference in New Issue
Block a user