Skip to content

ConnectToCdpOptions.deadBootGraceInMilliseconds?

ConnectToCdpOptions › deadBootGraceInMilliseconds?

Type: number

Grace window in milliseconds for fast-failing a dead boot of the owned instance — the renderer loaded but the app never bootstrapped (empty <body>, no window.app), the terminal state when the asar cannot run on the launched Electron shell. Once it has held this long a RendererFailedToInitializeError is thrown instead of waiting out the full readiness timeout. Ignored in attach mode (port set). Set 0 to disable fast-fail.