WithDelveServer
Method
func (GoAppResource) WithDelveServer(options ...*DelveServerOptions) GoAppResourceSignature
method
WithDelveServer builderStarts 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) GoAppResourceParameters
options...*DelveServerOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *DelveServerOptions struct.
Returns
GoAppResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: