Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.Tracing.TraceConfig
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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.