console_get_logs
Retrieve console logs, warnings, and uncaught exceptions captured since attachment, including file, line, and stack trace. Use the cursor to fetch only new entries since the last read.
Instructions
Read console output captured since attach: logs, warnings, uncaught exceptions with file, line and stack. Pass cursor=nextCursor from a previous call to get only what is new. Note that Chrome does not replay messages logged before DevCDP attached — reproduce the action or call page_reload to see those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Empty the buffer after reading. | |
| level | No | Only this level. | all |
| limit | No | Maximum entries to return (most recent first in the buffer order). | |
| since | No | ISO timestamp lower bound. | |
| cursor | No | Return only entries with seq greater than this. 0 for everything held. | |
| include_agent | No | Include DevCDP's own diagnostics, normally hidden so they cannot be mistaken for app errors. |