How to debug different types of plugins in Eagle?

When you need to debug Eagle plugins, you can use different debugging methods based on the plugin type. This article will introduce debugging methods for window plugins, thumbnail plugins, and preview plugins.

Window Plugin Debugging

  1. Open the plugin you want to debug in Eagle
  2. Press F12 to open DevTools
  3. In DevTools, you can:
  • View plugin code
  • Set breakpoints
  • Use debugging tools to trace the plugin's execution process
  • Analyze the plugin's performance and memory usage

Thumbnail Plugin Debugging

Thumbnail plugins run in the background, and their code only executes when files are added or updated. To debug thumbnail plugins:

  1. In the manifest.json file, set the devTools property to true
  2. Set debugger breakpoints in your code
  3. Use DevTools for debugging work

Preview Plugin Debugging

  1. Add the file format you want to develop to Eagle and select it
  2. Open the plugin panel and click on the preview plugin you're developing
  3. This will open an independent preview window
  4. Press F12 to open DevTools for debugging

Learning DevTools

If you're not familiar with how to use DevTools, you can refer to the following learning resources:

사이트 검색

↑ ↓ 선택 · Enter 결과 열기 · Esc 닫기