DebugSessionOptions class

Options for {@link debug.startDebuggingstarting a debug session}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

DebugSessionOptions({DebugSession? parentSession, bool? lifecycleManagedByParent, DebugConsoleMode? consoleMode, bool? noDebug, bool? compact, bool? suppressSaveBeforeStart, bool? suppressDebugToolbar, bool? suppressDebugStatusbar, bool? suppressDebugView})
factory

Properties

compact bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

Controls if the debug session's parent session is shown in the CALL STACK view even if it has only a single child. By default, the debug session will never hide its parent. If compact is true, debug sessions with a single child are hidden in the CALL STACK view to make the tree more compact.
getter/setter pair
consoleMode DebugConsoleMode?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

Controls whether this session should have a separate debug console or share it with the parent session. Has no effect for sessions which do not have a parent session. Defaults to Separate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lifecycleManagedByParent bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

Controls whether lifecycle requests like 'restart' are sent to the newly created session or its parent session. By default (if the property is false or missing), lifecycle requests are sent to the new session. This property is ignored if the session has no parent session.
getter/setter pair
noDebug bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

Controls whether this session should run without debugging, thus ignoring breakpoints. When this property is not specified, the value from the parent session (if there is one) is used.
getter/setter pair
parentSession DebugSession?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

When specified the newly created debug session is registered as a "child" session of this "parent" debug session.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suppressDebugStatusbar bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

When true, the window statusbar color will not be changed for this session.
getter/setter pair
suppressDebugToolbar bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

When true, the debug toolbar will not be shown for this session.
getter/setter pair
suppressDebugView bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

When true, the debug viewlet will not be automatically revealed for this session.
getter/setter pair
suppressSaveBeforeStart bool?

Available on DebugSessionOptions, provided by the DebugSessionOptions$Typings extension

When true, a save will not be triggered for open editors when starting a debug session, regardless of the value of the debug.saveBeforeStart setting.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited