# Debug

Il debug di un plug-in di FormIt richiede procedure diverse a seconda del motore utilizzato. Per ulteriori informazioni sui motori, consultare la [sezione precedente](/it/plugins/how-to-develop-plugins/advanced-development/client-side-vs-web-side-engines.md).

### **Debug lato client (FormIt)**

Per eseguire il debug del codice lato FormIt, che si applica sia ai plug-in basati sulla barra degli strumenti che a quelli basati sul pannello, è possibile aggiungere una riga nel codice per visualizzare il debugger JS incorporato dell'applicazione desktop:

`debugger`

![](/files/nie6CloSvNNpTdOtSFZG)

### **Debug lato Web (HTML)**

I plug-in di FormIt basati sul pannello offrono il debug dell'interfaccia utente basata su pagine HTML, poiché i pannelli sono fondamentalmente siti Web HTML con stili e script.

Per eseguire il debug del codice lato HTML per i plug-in incorporati in un pannello, inclusi script e stili:

* **FormIt per Windows 2021.1 e versioni successive**
  * Fare clic con il pulsante destro del mouse sulla pagina HTML del plug-in e selezionare Debug per visualizzare il debugger HTML incorporato dell'applicazione.

![](/files/9yVURwkNNYPxfb9epuAj)

* **FormIt per il Web**
  * Utilizzare il tasto di scelta rapida F12 o CTRL+MAIUSC+I per visualizzare il debugger HTML del browser.

![](/files/mjnhH13TH4PkzpdB2ezF)


---

# 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/it/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.
