Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Tracing.TraceConfig

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Tracing.TraceConfig
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { TraceConfig } = Protocol.Tracing;

Properties

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

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

optional
traceBufferSizeInKb: number

Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.

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.