withDelveServer
Method
interface GoAppResource { // ... omitted for brevity withDelveServer(port?: number): GoAppResource;}Signature
method
withDelveServerbuilderStarts 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
portnumberoptional= 2345Returns
GoAppResourceApplies to
This method applies to the following types: