Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

GoAppResource.WithDelveServer

Method
📦 Aspire.Hosting.Go v17.0.0
type GoAppResource interface {
// ... 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
options...*DelveServerOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *DelveServerOptions struct.

GoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: