Debug.Log Extensions
Documentation (1.1.9)

◆ isDebugBuild

bool Debug.isDebugBuild
staticget

In the Build Settings dialog there is a check box called "Development Build".

If it is checked isDebugBuild will be true. In the editor isDebugBuild always returns true.

When "Strip Log Calls From Builds" is checked in Project Settings for Console, then logging done using the Debug class will be stripped from non-development builds.

Additionally logging done using the Dev class will always be stripped from non-development builds, regardless of whether or not "Strip Log Calls From Builds" is checked.

Logging done using the Critical class will always be recorded even in non-development builds, regardless of whether or not "Strip Log Calls From Builds" is checked.