Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDenoInspect

Method
📦 Aspire.Hosting.JavaScript v17.0.0
func (DenoAppResource) 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().

Applies to

This method applies to the following types: