Skip to content
DocsTry Aspire
DocsTry

withDelveServer

Method
📦 Aspire.Hosting.Go v13.5.3-preview.1.26425.3
interface GoAppResource {
// ... omitted for brevity
withDelveServer(options?: DelveServerOptions): GoAppResource;
}

Signature

methodwithDelveServerbuilder
Starts a configurable headless Delve debug server so that DAP-compatible clients can attach remotely. The application is launched with `dlv debug` instead of `go run`. Delve must be available on the PATH.
withDelveServer(options?: DelveServerOptions): GoAppResource
optionsDelveServerOptionsoptional
GoAppResource

Applies to

This method applies to the following types: