Property script.isDebug Overload Returns true if the build configuration of the main assembly is Debug (default). Returns false if Release (optimize true). public static bool isDebug { get; } Property Value bool