# Actions simulator (Dialogflow)

The simulator in the [Actions console](https://console.actions.google.com)
lets you test your Action through an easy-to-use web interface that lets you
simulate hardware devices and their settings. You can also access debug
information such as the request and response that your fulfillment receives
and sends.

To test your Interactive Canvas Action in the simulator, you should select either
the **Smart Display** or **Phone** option. These options allow you to see how
your Action appears on devices with screens.

> [!NOTE]
> **Note:** Interactive Canvas currently only works on Android phones.

To use the simulator, follow these steps:

1. Make sure the most recent version of your code is deployed through Dialogflow's inline code editor.
2. Navigate to the [Actions console](https://console.actions.google.com).
3. Click **Test** in the top menu.
4. Choose **Smart Display** or **Phone** under **Surface**.

   ![](https://developers.google.com/static/assistant/df-asdk/interactivecanvas/images/choose-surface.png)
5. Under **Suggested input** , click the suggestion chip that says `Talk to my
   test app` to begin a conversation with your agent. You can also type `Talk
   to my test app` and press enter in the **Input** field.

## Debug your Action

The **debug** tab in the simulator shows the actual payload the Google Assistant
sends to your fulfillment in the `assistantToAgentJson` object
(see the [request](https://developers.google.com/assistant/conversational/webhook/reference/rest/Shared.Types/AppRequest) reference documentation)
and the response from your fulfillment in the `agentToAssistant` object
(see the [response](https://developers.google.com/assistant/conversational/webhook/reference/rest/Shared.Types/AppResponse)
reference documentation).

To copy the debug information to your clipboard, click on the **clipboard icon**
at the top right of the JSON debug information panel.

You can also use [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools)
to debug the iframe that hosts the web app on the simulator web page.