Enable IPC call logging in a renderer
enable_ipc_loggingEnables IPC logging by proxying window.electronAPI to capture all method calls into the session's IPC ring buffer. Works across page navigations.
Instructions
Inject a proxy over window.electronAPI that logs every method call (including those triggered by user actions) into the session's IPC ring buffer. Idempotent — safe to call multiple times; the installer no-ops if the proxy is already in place. Auto-reinstalls after Page.frameNavigated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. | |
| target | No | Target id (default: first page). |