Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DelveServerOptions

Struct
📦 Aspire.Hosting.Go v17.0.0

Configures the headless Delve debug server used for remote debugging of a Go application.

type DelveServerOptions struct {
Port *float64 `json:"Port"`
AcceptMultiClient *bool `json:"AcceptMultiClient"`
OnlySameUser *bool `json:"OnlySameUser"`
ContinueOnStart *bool `json:"ContinueOnStart"`
Log *bool `json:"Log"`
LogOutput *string `json:"LogOutput"`
}

Fields

Port*float64optional
Gets the TCP port on which Delve listens. The default is 2345.
AcceptMultiClient*booloptional
Gets a value indicating whether Delve accepts multiple debugger clients. The default is false.
OnlySameUser*booloptional
Gets a value indicating whether Delve allows connections only from the same operating system user. When null, Delve's default same-user policy is used.
ContinueOnStart*booloptional
Gets a value indicating whether Delve continues the application immediately after startup. The default is false.
Log*booloptional
Gets a value indicating whether Delve server logging is enabled. The default is false.
LogOutput*stringoptional
Gets the Delve logging components enabled when Log is true. When null or empty, Delve uses its default logging components.