Public entry: compose a Debug layer based on the environment or an explicit mode.
Default mode is auto: non-production → dev; production → prod.
auto
dev
prod
Optional
const runtime = Runtime.make(AppImpl, { layer: Layer.mergeAll(Debug.layer(), businessLayer),}) Copy
const runtime = Runtime.make(AppImpl, { layer: Layer.mergeAll(Debug.layer(), businessLayer),})
Public entry: compose a Debug layer based on the environment or an explicit mode.
Default mode is
auto: non-production →dev; production →prod.