Watch Aspire live streamsDocsTry Aspire

withDelveServer

Method
📦 Aspire.Hosting.Go v13.6.0-preview.1.26478.8
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: