blob: 1fe2186c82e02f6482e7b9146d1dfd91a8beebc2 [file] [log] [blame] [edit]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.debugger;
using zx;
@discoverable
closed protocol DebugAgent {
/// Hand the debug agent a socket that connects it to the debugger. This
/// will return ZX_ERR_ALREADY_BOUND if a connection already exists.
strict Connect(resource struct {
socket zx.Handle:SOCKET;
}) -> (struct {
status zx.Status;
});
};