inDebugger property
bool
get
inDebugger
Determines if running in an IDE or in production.
Implementation
static bool get inDebugger {
var inDebugMode = false;
// assert is removed in production.
assert(inDebugMode = true);
return inDebugMode;
}