Attempt to detect debugging builds.