ChemPal Documentation - v1.6.0
    Preparing search index...

    Module utils/debugConsole

    Functions - Utils

    exposeDebugApi

    Attaches the chemistry helper API to window.chempal so the resolvers can be exercised from the browser devtools console. Intended for dev/non-production builds only — the caller gates this behind IS_DEV_BUILD so it is tree-shaken out of production bundles.

    Functions - Other

    removeDebugApi

    Removes the helper API from window, so leaving advanced mode takes the console surface with it. Safe to call when nothing is attached.