Skip to main content

install

pub fn install(window: &WebviewWindow<Wry>)
Expand description

Installs the Mountain-layer debug server and stores a reference to the renderer webview window. Called once during app setup in debug builds.

Activation is gated by the unified DebugServer env var (see module docs). When cocoon/both is selected, this function still installs the window handle (so /eval keeps working for proxy requests) but skips starting the Mountain HTTP listener.