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

# Debug string monitoring (xbdbgmon.exe)

> Debug string monitoring (xbdbgmon.exe)

Use this tool to stream [OutputDebugString function](https://msdn.microsoft.com/library/windows/desktop/aa363362\(v=vs.85\).aspx) calls from one or more processes on a Development Kit.

| Column 1 |
| - |
| \*\*xbdbgmon \*\**processid \[processid ...]* \[/P] \[/t] \[/v] \[/X\[:]*address\[+\<accesskey>]*] |

| Option | Description |
| - | - |
| *processid \[processid ...]* | One or more remote processes on the console to be monitored for `OutputDebugString` events. |
| /P | Prepends the process ID to the output string. |
| /t | Streams data from calls to `OutputDebugString` for all processes that are running in the `exclusive` partition without attaching to any of the processes. The connection is maintained across restarts of the `exclusive` partition. |
| /v | Provides verbose output if **/t** is specified. To each output string, verbose output adds information, such as the process, CPU, and thread IDs. |
| /X\[:]*address\[+\<accesskey>]* | - Use this option to specify the host name or address (shown as **Tools IP** on the console) of a targeted console without changing the default console. For details about setting a host name for a console, see [Setting a host name for the console IP address](/home/setup-install/dev-kit-settings/setting-a-hostname). - If you don't use this option, the default console (previously set by [Connect (xbconnect.exe)](/tools/tools-console/commandlinetools/xbconnect)) is used. - Use the *accesskey* string to provide console access only to those people who have the access key. - Set the access key by using the command **xbconfig** **accesskey=your-key**, and then restart your console to make the access key effective. - To access a console that's configured with an access key, include a plus sign (+) and the access key after the IP address or host name of the console. - If an access key is provided when the default console is set by [xbconnect](/tools/tools-console/commandlinetools/xbconnect), the access key is stored as part of the default console's address. - For more information about access keys, see [xbconfig accesskey](/tools/tools-console/commandlinetools/xbconfig). |
| /LC | Specify the locale code. Used to override the default locale code |

## Remarks

Use Ctrl+C to terminate monitoring.

## See also

[Command-line tools](/tools/tools-console/commandlinetools/commandlinetools)

[XTF transport errors](/tools/tools-console/commandlinetools/xtf-transport-errors)

[Connect (xbconnect.exe)](/tools/tools-console/commandlinetools/xbconnect)


## Related topics

- [Command-line tools for console development](/tools/tools-console/commandlinetools/commandlinetools.md)
- [Commandlinetools](/tools/tools-console/commandlinetools/index.md)
- [monitoring_output_saved](/services/playfab/api-references/events/MultiplayerServers/monitoring-output-saved.md)
- [MonitoringOutputSavedEventPayload](/services/playfab/api-references/events/data-types/monitoringoutputsavedeventpayload.md)
- [Debug tracing in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/debug-trace.md)
