detach method

Future<void> detach(
  1. Debuggee target
)

Detaches debugger from the given target. target Debugging target from which you want to detach. returns Resolves once the detach operation succeeds or fails. The promise resolves with no value. If the detach fails, the promise will be rejected.

Implementation

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