Configuration

Configuration options

To configure alpinejs-ray, you must create an alpineRayConfig property on the window object before loading alpinejs-ray:

<script>
    window.alpineRayConfig = {
        logComponentsInit: true,
        logErrors: true,
        logEvents: ['abc'],
    };
</script>

<!-- load axios and alpinejs-ray -->

Configuration reference

Name Type(s) Default Description
logComponentsInit boolean false Send info on component initializations to Ray
logErrors boolean false Send JavaScript errors to Ray instead of the console
logEvents boolean, array false Send specified custom events to Ray, or false to disable

Debug without breaking your flow

Ray keeps all your debug output neatly organized in a dedicated desktop app.

Download Ray

macOS

ARM Intel

Windows

x86 (Intel)

Linux

AppImage

By downloading Ray, you agree to our terms of use.

The free trial lets you send up to 20 messages per session.