Skip to content

ConnectToCdpOptions.shouldThrowOnSilentAsarFallback?

ConnectToCdpOptions › shouldThrowOnSilentAsarFallback?

Type: boolean

Whether a post-boot **silent asar fallback** fails fast.

When an asar is swapped onto an installer shell too old for it, the instance may silently revert to the installer's own bundled asar and run the **wrong (older)** version behind a healthy UI. When true (the default), the running app version is verified against the pin post-boot and a mismatch throws SilentAsarFallbackError. Set false to let the boot proceed — the mismatch is then surfaced on CdpConnection.asarFallback rather than thrown. Ignored in attach mode (port set) and when no asar is swapped.