# withDeprecationTracing

- Module: [CommunityToolkit.Aspire.Hosting.Logto](/reference/api/typescript/communitytoolkit.aspire.hosting.logto.md)
- Version: `13.5.0`
- Kind: `method`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)

Enables Node.js deprecation tracing for the Logto by setting the NODE_OPTIONS environment variable to '--trace-deprecation'. This allows stack traces to be printed for deprecated API usage.

## Definition

```typescript
interface LogtoResource {
  // ... omitted for brevity
  withDeprecationTracing(): LogtoResource
}
```

## Returns

[LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md) `builder`

## Applies to

- [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md)
