Make debuggable TankLayerScan an env var, suppress unchecked warning.