dev_plugin
Launch an EasyEDA Pro plugin and monitor its console for error logs, returning the error content when found. Automatically capture plugin runtime errors; returns success if no error appears within timeout.
Instructions
调试插件到嘉立创EDA并持续监听控制台,直到出现 error 日志时返回错误内容。插件文件通常位于项目的 build/dist 目录下,后缀为 .eext。调用前请先确认 pluginPath 指向该目录下的 .eext 文件。适用于需要自动捕获插件运行错误的调试场景。超时未检测到错误则返回成功。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | 最大等待秒数,默认300秒(5分钟) | |
| pluginPath | Yes | 插件文件的绝对路径 | |
| browserPath | No | 浏览器可执行文件的绝对路径(如 Edge、Chrome),不传则自动检测 |