> For the complete documentation index, see [llms.txt](https://comunity.gitbook.io/learning.comunityplatform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://comunity.gitbook.io/learning.comunityplatform/general-information/debugging-and-editing-your-application-code.md).

# Debugging and editing your application code

The recommended workflow for effective editing and debugging of complex code in your ComUnity Projects is outlined below:

### Pre-requisites

High level proficiency in C# and .NET application development.

### Set up your local development environment

The ComUnity Development Toolkit has a default text editor which has limitations when it comes to editing complex codebases. The tools outlined below will offer a better development experience in scenarios where you have to manipulate complex code, download and install them for your operating system.

1. [Visual Studio](https://visualstudio.microsoft.com/downloads/)&#x20;
2. [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)&#x20;
3. [SQL Server Management Studio](https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16) or [Azure Data Explorer](https://azure.microsoft.com/en-us/services/data-explorer/#overview) as your database client.

### Download the Data Service Project from the ComUnity Toolkit

To download your project from the ComUnity Developer Toolkit to your local development environment, follow these steps:

1. Go to **Configuration** > **Application**&#x20;
2. Navigate to the **Download Data Service Project** section in the **Content Area.**
3. Click **Create Archive**, to create a .zip file of your data service projec&#x74;**.**
4. Click the generated archive to download it.

### Local Development

After you finish editing or resolving your bugs in your local environment ensure that the application builds successfully and then copy all the updated files and paste them where it is relevant and then rebuild your project.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://comunity.gitbook.io/learning.comunityplatform/general-information/debugging-and-editing-your-application-code.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.
