Skip to content
DocsTry Aspire
DocsTry

DelveServerOptions

Classsealednet10.0
📦 Aspire.Hosting.Go v13.5.3-preview.1.26425.3
Configures the headless Delve debug server used for remote debugging of a Go application.
namespace Aspire.Hosting.Go;
public sealed class DelveServerOptions
{
// ...
}

The server listens on the loopback interface. By default, it accepts a single debugger client and relies on Delve's default same-user connection policy.

Set DelveServerOptions.AcceptMultiClient only when the server must remain available after a debugger disconnects or when multiple debugger clients need to attach.

Configure a Delve server that continues the application immediately and accepts multiple debugger clients:

builder.AddGoApp("api", "../go-api")
.WithDelveServer(new DelveServerOptions
{
AcceptMultiClient = true,
ContinueOnStart = true
});