debug method
A shortcut to print prettyDOM(baseElement)
.
NOTE: It's recommended to use ScreenQueries.debug instead.
See: testing-library.com/docs/react-testing-library/api/#debug
Implementation
void debug([
Node? baseElement,
int? maxLength,
PrettyDomOptions? options,
]) =>
printConsoleLogs(() => _jsRenderResult.debug(baseElement, maxLength, options));