Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.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.