withDelveServer
Method
interface GoAppResource { // ... omitted for brevity withDelveServer(port?: number): GoAppResource;}Signature
method
withDelveServer builder Starts a headless Delve debug server so that any DAP-compatible client can attach remotely. The application is launched as `dlv --headless=true --listen=127.0.0.1:<port> --api-version=2 debug .` instead of `go run .`. Delve must be available on the PATH.
withDelveServer(port?: number): GoAppResourceParameters
port number optional = 2345 Returns
GoAppResource Applies to
This method applies to the following types: