A debug interface controls debug settings, validates pipeline state and can only be used if the debug layer is turned on.
interface ID3D11Debug : public IUnknown
This interface is obtained by querying it from the ID3D11Device using IUnknown::QueryInterface.
For more information about the debug layer, see Debug Layer.
Header: Declared in d3d11sdklayers.h.
Library: Use d3d11.lib.