# デバッグ

FormIt プラグインのデバッグに必要な操作方法は、デバッグするエンジンによって異なります。(エンジンの詳細については、[前のセクション](/ja/plugins/how-to-develop-plugins/advanced-development/client-side-vs-web-side-engines.md)を参照してください)

### **クライアント側(FormIt)のデバッグ**

ツールバーベースおよびパネルベースの両方のプラグインに適用する FormIt 側のコードでデバッグするには、コードに行を追加して、デスクトップ アプリケーションの組み込み JS デバッガを開きます。

`debugger`

![](/files/R3tvStNRBu0QD87CjaBx)

### **Web 側(HTML)のデバッグ**

パネルは基本的にスタイル設定とスクリプトを持つ HTML の Web サイトであるため、パネルベースの FormIt プラグインには HTML ベースの UI デバッグが用意されています。

パネルに組み込まれ、スクリプトとスタイル設定があるプラグインの HTML 側コードをデバッグするには、次のように操作します。

* **FormIt for Windows 2021.1 以降**
  * プラグインの HTML ページを右クリックして\[Debug]をクリックし、アプリケーションの組み込み HTML デバッガを表示します。

![](/files/5VxV53OoDOkBcSpi67Um)

* **FormIt for Web**
  * ブラウザの HTML デバッガを表示するには、ショートカットの\[F12]または\[Ctrl]+\[Shift]+\[I]を使用します。

![](/files/NlEXpJvVJiWEGJTYjwCg)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://windows.help.formit.autodesk.com/ja/plugins/how-to-develop-plugins/advanced-development/debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
