[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [ConsoleAPICalledEvent](./puppeteer.protocol.runtime.consoleapicalledevent.md) > [stackTrace](./puppeteer.protocol.runtime.consoleapicalledevent.stacktrace.md) ## Protocol.Runtime.ConsoleAPICalledEvent.stackTrace property Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field. Signature: ```typescript stackTrace?: StackTrace; ```