In that case, Debug.isDebugBuild is always true. See the description in the API.
Debug.isDebugBuild
true
See also: