# serve method | |
*[<Null safety>](https://dart.dev/null-safety)* | |
void serve | |
([Outgoing](../../package-fuchsia_services_services/Outgoing-class.md) outgoing) | |
<p>Attaches the inspect to the outgoing diagnostics/debug dir.</p> | |
## Implementation | |
```dart | |
void serve(Outgoing outgoing); | |
``` | |