class Debug

Defined at line 12400 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

The debug service which allows to enable the DevTools service on Contexts.

Public Members

static const char[] Name_

Public Methods

void ~Debug ()
void EnableDevTools (::fidl::InterfaceHandle< ::fuchsia::web::DevToolsListener> listener, EnableDevToolsCallback callback)

Enables the DevTools service on every subsequent [`Context`] creation and delivers

subsequent DevTools events to the supplied `listener`. The callback indicates when the

WebEngine is in a debuggable state. Events will be sent to every `listener` registered with

this method.

Because DevTools debugging is exposed using TCP as its transport, only

[`Context`]s created with access to network capabilities will report

themselves as available for debugging.