Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Tracing.TraceConfig

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Tracing.TraceConfig
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.