inDebugger property

bool inDebugger
inherited

Determines if running in an IDE or in production. Returns true if the App is under in the Debugger and not production.

Implementation

bool get inDebugger {
  var inDebugMode = false;
  // assert is removed in production.
  assert(inDebugMode = true);
  return inDebugMode;
}