[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Tracing](./puppeteer.protocol.tracing.md) > [TraceConfig](./puppeteer.protocol.tracing.traceconfig.md) > [enableSampling](./puppeteer.protocol.tracing.traceconfig.enablesampling.md) ## Protocol.Tracing.TraceConfig.enableSampling property Turns on JavaScript stack sampling. Signature: ```typescript enableSampling?: boolean; ```