Socket
Book a DemoInstallSign in
Socket

@onirix/webar-debug-module

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onirix/webar-debug-module

Help debugging errors in WebAR experiences running in Onirix Studio

1.0.1
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

Onirix WebAr debug

Version Twitter: onirix

This module helps us to debug the Onirix Studio WebAR experiences. By simply instantiating an OnirixWebARDebugModule object, it starts capturing all the traces generated by the browser's console object. These traces are stored and can be downloaded from the UI.

We can also connect the module with the EmbedSDK and automatically capture all the events that occur within the experience.

Install && usage

Include this code on the Onirix Studio online code editor:

    import OnirixWebARDebugModule from "https://cdn.jsdelivr.net/npm/@onirix/webar-debug-module@1.0.1/+esm";
    
    const onirixWebARDebug = new OnirixWebARDebugModule();

If you want to connect the module with the EmbedSDK, you can do it by calling the setEmbedSDK function.

    import OnirixEmbedSDK from "https://cdn.jsdelivr.net/npm/@onirix/embed-sdk@1.18.1/+esm";
    import OnirixWebARDebugModule from "https://cdn.jsdelivr.net/npm/@onirix/webar-debug-module@1.0.1/+esm";
    
    const embedSDK = new OnirixEmbedSDK();

    const onirixWebARDebug = new OnirixWebARDebugModule();
    onirixWebARDebug.setEmbedSDK(embedSDK);
    embedSDK.connect();

You can also view the latest console trace in the UI. Just call showTrace function to enable / disable it.

 onirixWebARDebug.showTrace(true);

Keywords

Augmented reality

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.