withDelveServer

Method
📦 Aspire.Hosting.Go v17.0.0
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
optionsDelveServerOptionsoptionalThe options that configure the Delve server. When `null`, the default options are used.
GoAppResource

Applies to

This method applies to the following types: