GoAppResource.WithDelveServer
Method
type GoAppResource interface { // ... omitted for brevity WithDelveServer(options ...*DelveServerOptions) GoAppResource}Signature
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().
Defined on
This method is defined on the following type: