enableBuildLocalPathDiagnostics property
getter/setter pair
When enabled, buildLocalPath() records failure reasons and emits
diagnostics logs even in release builds.
By default, failures are silent in release builds and are only recorded when assertions are enabled (debug/profile).
Implementation
static bool enableBuildLocalPathDiagnostics = false;