| // Copyright 2022 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. |
| { |
| children: [ |
| { |
| name: "debug_agent", |
| url: "fuchsia-pkg://fuchsia.com/debug_agent#meta/debug_agent.cm", |
| environment: "#full-resolver-env", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: [ |
| "fuchsia.kernel.RootJob", |
| "fuchsia.logger.LogSink", |
| "fuchsia.process.Launcher", |
| "fuchsia.sys2.EventSource", |
| "fuchsia.sys2.RealmExplorer.root", |
| "fuchsia.sys2.RealmQuery.root", |
| ], |
| from: "parent", |
| to: "#debug_agent", |
| }, |
| { |
| event: [ |
| "debug_started", |
| "stopped", |
| ], |
| from: "parent", |
| to: "#debug_agent", |
| }, |
| { |
| protocol: [ "fuchsia.exception.ProcessLimbo" ], |
| from: "#exceptions", |
| to: "#debug_agent", |
| }, |
| { |
| protocol: [ |
| "fuchsia.process.Resolver", |
| "fuchsia.sys.Launcher", |
| ], |
| from: "self", |
| to: "#debug_agent", |
| }, |
| { |
| directory: "boot", |
| from: "parent", |
| to: "#debug_agent", |
| }, |
| ], |
| } |