devMode

A local-only test mode to validate your code for syntax errors.

Runs the library in local development mode. No data will be sent to the Brytelytics API. Each time the brytescore function is called, it will log the data object to your console. You can copy and paste this object into a JSON validator to catch syntax errors.

FieldTypeRequiredDescription
enabledbooleanYes

Set to true to enable devMode. To disable devMode (default), omit this function entirely.

This function is not available to server-side code. It's specifically a feature of the Brytecore official libraries.

Updated July 25, 2026