puppeteer/new-docs/puppeteer.protocol.tracing.traceconfig.md
2020-07-13 14:01:35 +01:00

26 lines
1.7 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Tracing](./puppeteer.protocol.tracing.md) &gt; [TraceConfig](./puppeteer.protocol.tracing.traceconfig.md)
## Protocol.Tracing.TraceConfig interface
<b>Signature:</b>
```typescript
export interface TraceConfig
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [enableArgumentFilter](./puppeteer.protocol.tracing.traceconfig.enableargumentfilter.md) | boolean | Turns on argument filter. |
| [enableSampling](./puppeteer.protocol.tracing.traceconfig.enablesampling.md) | boolean | Turns on JavaScript stack sampling. |
| [enableSystrace](./puppeteer.protocol.tracing.traceconfig.enablesystrace.md) | boolean | Turns on system tracing. |
| [excludedCategories](./puppeteer.protocol.tracing.traceconfig.excludedcategories.md) | string\[\] | Excluded category filters. |
| [includedCategories](./puppeteer.protocol.tracing.traceconfig.includedcategories.md) | string\[\] | Included category filters. |
| [memoryDumpConfig](./puppeteer.protocol.tracing.traceconfig.memorydumpconfig.md) | [MemoryDumpConfig](./puppeteer.protocol.tracing.memorydumpconfig.md) | Configuration for memory dump triggers. Used only when "memory-infra" category is enabled. |
| [recordMode](./puppeteer.protocol.tracing.traceconfig.recordmode.md) | ('recordUntilFull' \| 'recordContinuously' \| 'recordAsMuchAsPossible' \| 'echoToConsole') | Controls how the trace buffer stores data. |
| [syntheticDelays](./puppeteer.protocol.tracing.traceconfig.syntheticdelays.md) | string\[\] | Configuration to synthesize the delays in tracing. |