Debug or production build detection and disabling showing the navigator debug console.