---
title: "Manage debug mode"
sidebar_label: "Manage debug mode"
sidebar_position: 7
description: "How to enable and disable debug mode for a 1C server cluster"
---

import Formbricks from '@theme/MDXComponents/Formbricks'

# Manage debug mode

Before you start debugging, you must [enable debug mode](#enable-debug-mode) in the 1C server cluster. The HTTP protocol is used for debugging in the Cloud for 1C on the cluster side.

After you enable or disable debug mode, the 1C server cluster will be restarted. We recommend scheduling the work during periods of minimal cluster load and [using session locking](/cloud-1c/infobase/manage-infobase-user-sessions.mdx#set-lock) for the associated infobases.

For more information on debugging, see the [Debugging and testing of application solutions](https://its.1c.ru/db/v8322doc#bookmark:dev:TI000001030) section of the 1C documentation.

## Enable debug mode \{#enable-debug-mode}

enabled debug mode consumes some of the cluster's RAM; we do not recommend enabling it during periods of high cluster load.

1. In the [Control panel](https://my.selectel.ru/ones/server/), in the top menu, click **Products** and select **Cloud for 1C**.
2. Go to the **1C Server Clusters** section.
3. Open the cluster page → **Administration**.
4. In the **Cluster Administration** block, enable debug mode.
5. Click **Save**. The cluster will be restarted, and all current connections to its info-bases will be disconnected. Once the cluster status changes to `ACTIVE`, you can [connect to 1C](/cloud-1c/connect/connect-to-1c.mdx) in debug mode. Use the HTTP protocol and port 1550 to connect.
6. Optional: after debugging is complete, [disable debug mode](#disable-debug-mode) to reduce the load on the cluster.

## Disable debug mode \{#disable-debug-mode}

1. In the [Control panel](https://my.selectel.ru/ones/server/), click **Products** on the top menu and select **1C Cloud**.
2. Go to the **1C Server Clusters** section.
3. Open the cluster page → **Administration**.
4. In the **Cluster Administration** block, disable debug mode.
5. Click **Save**. The cluster will be restarted, and all current connections to its info-bases will be disconnected. Once the cluster status changes to `ACTIVE`, you can [connect to 1C again](/cloud-1c/connect/connect-to-1c.mdx).

<Formbricks />
