Sdílet prostřednictvím


JsStartDebugging Function

Starts debugging in the current context.

Syntax

// Microsoft Edge mode signature  
STDAPI_(JsErrorCode) JsStartDebugging();  
  
// Legacy mode signature  
STDAPI_(JsErrorCode)  JsStartDebugging(  
   _In_ IDebugApplication *debugApplication  
);  

Parameters

debugApplication
The debug application to use for debugging.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

The host should make sure that CoInitializeEx is called with COINIT_MULTITHREADED or COINIT_APARTMENTTHREADED at least once before using this API

The debugApplication parameter is not supported in Microsoft Edge mode. For more information on using this API in Microsoft Edge mode, see Targeting Microsoft Edge vs. Legacy Engines.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)