Debug

static boolean

Controls whether or not to output help messages to the console when unexpected things occur at runtime.

If things are failing silently, make sure you’re working with the unminified distribution; the minified distribution cannot output to the console!

Default Value

false

Usage

You can change this property at will, although just once in the <head> just after installation is common practice, e.g:

<head>
    <script src="https://unpkg.com/scrollreveal"></script>
    <script>
        ScrollReveal.debug = true;
    </script>
</head>