Function JSGlobalContextSetInspectable

Source
pub unsafe extern "C-unwind" fn JSGlobalContextSetInspectable(
    ctx: JSGlobalContextRef,
    inspectable: bool,
)
Available on crate features JSContextRef and JSBase only.
Expand description

Sets whether the context is inspectable in Web Inspector. Default value is NO.

Parameter ctx: The JSGlobalContext that you want to change the inspectability of.

Parameter inspectable: YES to allow Web Inspector to connect to the context, otherwise NO.