Watch Aspire live streamsDocsTry Aspire

DelveServerOptions

Classsealednet10.0
📦 Aspire.Hosting.Go v13.6.0-preview.1.26478.8
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.

View all constructors
View all properties

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
});