# DebugConsole Class

Namespace: [Qlik.Engine.Communication](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.htm)  
Assembly: Qlik.Engine.dll

This is a convenience class for monitoring communication activity on the protocol level.

## Inheritance

* System.Object
  * DebugConsole

## Syntax

```
public class DebugConsole : IDisposable
```

## Constructors

| Name | Description |
| --- | --- |
| [DebugConsole()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor) | Default constructor using System.Console.Out for output. |
| [DebugConsole(TextWriter)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor_System_IO_TextWriter_) | Constructor accepting System.IO.TextWriter for output. |
| [DebugConsole(TextWriter\[\])](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.-ctor.htm#Qlik_Engine_Communication_DebugConsole__ctor_System_IO_TextWriter___) | Constructor accepting multiple System.IO.TextWriter objects for output. |

## Methods

| Name | Description |
| --- | --- |
| [Dispose()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.Dispose.htm#Qlik_Engine_Communication_DebugConsole_Dispose) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| [Flush()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.Flush.htm#Qlik_Engine_Communication_DebugConsole_Flush) | Flush the DebugConsole message queue. |
| [WriteLine(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.DebugConsole.WriteLine.htm#Qlik_Engine_Communication_DebugConsole_WriteLine_System_String_) | Write a line to all TextWriter instances registered for the debug console. |