Function chakracore_sys::JsDiagStartDebugging [] [src]

pub unsafe extern "system" fn JsDiagStartDebugging(
    runtimeHandle: JsRuntimeHandle,
    debugEventCallback: JsDiagDebugEventCallback,
    callbackState: *mut c_void
) -> JsErrorCode

Starts debugging in the given runtime. Runtime to put into debug mode. Registers a callback to be called on every JsDiagDebugEvent. User provided state that will be passed back to the callback. The code JsNoError if the operation succeeded, a failure code otherwise. The runtime should be active on the current thread and should not be in debug state.