TestEvent.debug constructor

TestEvent.debug({
  1. required int time,
  2. required int suiteID,
  3. String? observatory,
  4. String? remoteDebugger,
})

A debug event is emitted after (although not necessarily directly after) a SuiteEvent, and includes information about how to debug that suite.

It's only emitted if the --debug flag is passed to the test runner.

Note that the remoteDebugger URL refers to a remote debugger whose protocol may differ based on the browser the suite is running on. You can tell which protocol is in use by the Suite.platform field for the suite with the given ID. Since the same browser instance is used for multiple suites, different suites may have the same host URL, although only one suite at a time will be active when --pause-after-load is passed.

Implementation

factory TestEvent.debug({
  required int time,
  required int suiteID,
  String? observatory,
  String? remoteDebugger,
}) = TestEventDebug;