detach method

Future<void> detach(
  1. Debuggee target
)

Detaches debugger from the given target. target Debugging target from which you want to detach. returns Called once the detach operation succeeds or fails. Callback receives no arguments. If the detach fails, runtime.lastError will be set to the error message.

Implementation

Future<void> detach(Debuggee target) async {
  await promiseToFuture<void>($js.chrome.debugger.detach(target.toJS));
}