diff --git a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js index f8c3b19aab01..1a74c800ef56 100644 --- a/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js +++ b/packages/debugger-shell/src/electron/MainInstanceEntryPoint.js @@ -36,6 +36,11 @@ function handleLaunchArgs(argv: string[]) { windowKey: { type: 'string', }, + // Consumed by Chromium at startup (exposes the Chrome DevTools Protocol + // for automation); accepted here so that strict parsing doesn't reject it. + 'remote-debugging-port': { + type: 'string', + }, }, args: argv, });