> ## 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.

# IXtfApplicationClient::DebugQuery

> IXtfApplicationClient::DebugQuery

# IXtfApplicationClient::DebugQuery

Détermine si le débogage est activé pour le package d'application doté du moniker de package spécifié.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
public:
HRESULT DebugQuery( 
    LPCWSTR pszPackageMoniker,
    BOOL *pfEnabled
)

```

<a id="parametersSection" />

### Paramètres

*pszPackageMoniker*\
Type : LPCWSTR

Pointeur vers le moniker de package de l'application.

*pfEnabled*\
Type : BOOL\*

En cas de réussite, contient une valeur indiquant si le débogage est activé pour le package d'application doté du moniker de package spécifié.

<a id="retvalSection" />

### Valeur de retour

Type : HRESULT

Retourne `S_OK` en cas de réussite ; sinon, retourne un code d'erreur HRESULT.

<a id="requirementsSection" />

## Configuration requise

**En-tête :** xtfapplication.h

**Bibliothèque :** xtfapplication.lib

**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

<a id="seealsoSection" />

## Voir aussi

[IXtfApplicationClient](/fr/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t)\
[XtfApplication](/fr/reference/tools/xtf/xtfapplication/xtfapplication-xbox-microsoft-n)


## Related topics

- [IXtfApplicationClient::DebugQuery](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/ixtfapplicationclient-debugquery.md)
- [IXtfApplicationClient::DebugEnable](/ja-jp/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/debugenable-ixtfapplicationclient-xtfapplication-xbox-microsoft-m.md)
