debug method Null safety

void debug(
  1. [Node? baseElement,
  2. int? maxLength,
  3. PrettyDomOptions? options]
)

A shortcut to print prettyDOM(document.body).

See: testing-library.com/docs/queries/about/#screendebug

Implementation

void debug([
  Node? baseElement,
  int? maxLength,
  PrettyDomOptions? options,
]) =>
    printConsoleLogs(() => _screen.debug(baseElement, maxLength, options));