Dart Documentationchrome.debuggerDebuggee

Debuggee class

Debuggee identifier. Either tabId or extensionId must be specified

class Debuggee extends ChromeObject {
 Debuggee({int tabId, String extensionId, String targetId}) {
   if (tabId != null) this.tabId = tabId;
   if (extensionId != null) this.extensionId = extensionId;
   if (targetId != null) this.targetId = targetId;
 }
 Debuggee.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The id of the tab which you intend to debug.
  */
 int get tabId => jsProxy['tabId'];
 set tabId(int value) => jsProxy['tabId'] = value;

 /**
  * The id of the extension which you intend to debug. Attaching to an
  * extension background page is only possible when 'enable-silent-debugging'
  * flag is enabled on the target browser.
  */
 String get extensionId => jsProxy['extensionId'];
 set extensionId(String value) => jsProxy['extensionId'] = value;

 /**
  * The opaque id of the debug target.
  */
 String get targetId => jsProxy['targetId'];
 set targetId(String value) => jsProxy['targetId'] = value;
}

Extends

ChromeObject > Debuggee

Constructors

new Debuggee({int tabId, String extensionId, String targetId}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
Debuggee({int tabId, String extensionId, String targetId}) {
 if (tabId != null) this.tabId = tabId;
 if (extensionId != null) this.extensionId = extensionId;
 if (targetId != null) this.targetId = targetId;
}

new Debuggee.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
Debuggee.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

String extensionId #

The id of the extension which you intend to debug. Attaching to an extension background page is only possible when 'enable-silent-debugging' flag is enabled on the target browser.

String get extensionId => jsProxy['extensionId'];
set extensionId(String value) => jsProxy['extensionId'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int tabId #

The id of the tab which you intend to debug.

int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;

String targetId #

The opaque id of the debug target.

String get targetId => jsProxy['targetId'];
set targetId(String value) => jsProxy['targetId'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();