Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DenoAppResource.WithDenoInspect

Method
📦 Aspire.Hosting.JavaScript v17.0.0
type DenoAppResource interface {
// ... omitted for brevity
WithDenoInspect(options ...*WithDenoInspectOptions) DenoAppResource
}

Signature

methodWithDenoInspectbuilder
Enables a Deno inspector mode, optionally at hostPort (for example 127.0.0.1:9229).
WithDenoInspect(options ...*WithDenoInspectOptions) DenoAppResource
options...*WithDenoInspectOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDenoInspectOptions argument.

Mode*DenoInspectModeThe inspector mode to enable.
HostPort*stringThe optional inspector host:port value.
DenoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: