> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Start

> IXtfDebugMonitorClient::Start Method

Starts listening for debug output from the development console.

## Syntax

```cpp theme={null}
public:
HRESULT Start(
         DWORD dwProcessId,
         XTF_DBGMON_START_FLAGS dwFlags,
         IXtfDebugMonitorCallback *pCallback
)  
```

### Parameters

*dwProcessId*\
Type: DWORD

Identifier of the process.

*dwFlags*\
Type: XTF\_DBGMON\_START\_FLAGS

Flags that specify how to perform the operation.\
This functionality is not fully developed and, so the parameter should take a value of 0.

*pCallback*\
Type: IXtfDebugMonitorCallback \*

Pointer to the [IXtfDebugMonitorCallback](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t.md) to call when the client receives debug output from the development console.

### Return value

Type: HRESULT

HRESULT success or error code.

## Requirements

**Header:** xtfdebugmonitor.h

**Library:** xtfdebugmonitor.lib

**Supported platforms:** Windows (for XBOX console tools)

## Remarks

This function is used to start listening for debug output from a game on a development console. When you are finished listening for debug output call [IXtfDebugMonitorClient::Stop](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) to stop listening for output. If you do not call [IXtfDebugMonitorClient::Stop](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) it may result in resource leakage and an orphaned debugger attachment to the game, this may require a game restart to fix.

## See also

[IXtfDebugMonitorClient Interface](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-t.md)\
[XtfDebugMonitor](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n.md)\
[IXtfDebugMonitorClient::Stop](https://docs.xbox.com/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)


## Related topics

- [Start Experiment](https://docs.xbox.com/services/playfab/api-references/rest/experimentation/experimentation/start-experiment.md)
- [Start Purchase](https://docs.xbox.com/services/playfab/api-references/rest/client/player-item-management/start-purchase.md)
- [experiment_start_requested](https://docs.xbox.com/services/playfab/api-references/events/Experimentation/experiment-start-requested.md)
- [client_session_start](https://docs.xbox.com/services/playfab/api-references/events/Session/client-session-start.md)
- [start_processing_data_frames](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames.md)
