Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Tracing.TraceConfig
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { TraceConfig } = Protocol.Tracing;

Properties

optional
recordMode:
| "recordUntilFull"
| "recordContinuously"
| "recordAsMuchAsPossible"
| "echoToConsole"

Controls how the trace buffer stores data. (TraceConfigRecordMode enum)

optional
enableSampling: boolean

Turns on JavaScript stack sampling.

optional
enableSystrace: boolean

Turns on system tracing.

optional
enableArgumentFilter: boolean

Turns on argument filter.

optional
includedCategories: string[]

Included category filters.

optional
excludedCategories: string[]

Excluded category filters.

optional
syntheticDelays: string[]

Configuration to synthesize the delays in tracing.

optional
memoryDumpConfig: MemoryDumpConfig

Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.