figma_watch_console
Stream real-time console logs from the Figma Desktop Bridge plugin for up to 5 minutes to debug long-running scripts, race conditions, and async operations.
Instructions
Stream console logs captured by the Desktop Bridge plugin in real-time for a specified duration (max 5 minutes). Covers code run through the bridge (figma_execute and the write tools) — not other plugins, which run in their own sandboxes. Returns all logs captured during the watch period with summary statistics. NOT for retrieving past logs (use figma_get_console_logs). Best for: watching long-running figma_execute scripts, debugging race conditions, monitoring async operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Filter by log level | all |
| duration | No | How long to watch in seconds |