# Debugging with AppFlowy Cloud

## Localhost

This guide outlines how to debug the AppFlowy application using AppFlowy Cloud. Start by setting up AppFlowy Cloud on your local machine, as detailed in the [development guide](https://github.com/AppFlowy-IO/AppFlowy-cloud). Once AppFlowy Cloud is running, build the AppFlowy application from its source code and launch it. Navigate to the settings page in the application and choose `AppFlowy Cloud` as your cloud provider. For the server address, enter `http://localhost`. Click `Restart` to save your changes and reinitialize the application.

### Desktop

![setting.png](/files/tIxWyx3loT36FKbDI4tJ)

After restarting, you can log in to the application.

![desktop\_login.png](/files/HNQwpdiC9B77WmuyF6d5)

### Mobile

![cloud\_setting](/files/BZjx9hG8zlSCNI8iTzWq)

![appflowy\_cloud\_setting](/files/wyzhy2AiQkgsdGnRHylN)

After restarting the application, you'll need to log in. To do this, navigate to the `Setting` page and select `Logout`. This action will redirect you to the login page.

![mobile\_login.png](/files/MzKkdWVkv3GvmISvJRqc)

During this process, AppFlowy Cloud will generate logs in the console, allowing you to monitor and debug interactions between the application and the cloud service. Keep an eye on these logs to troubleshoot any issues or to understand how the application communicates with AppFlowy Cloud.

## Self-Hosted Server

Please refer to this [Self-Hosting AppFlowy Cloud](broken://pages/QHG81xxAgRg6WMamzIcF) for more information.


---

# 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://docs.appflowy.io/docs/documentation/appflowy/debugging-with-appflowy-cloud.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.
