Skip to main content

debug

Configuration Description

Used to select between testing and production environments.

  • Optional, defaults to production environment: debug: false.
  • If the url parameter is configured, debug is ignored.

Testing Environment

hymatrix-js supports development and debugging using the testing environment. Simply set the debug parameter to true to use the HyMatrix testing environment.

const hyMatrix = new HyMatrix({
debug: true
})

Production Environment

To use the HyMatrix production environment, set the debug parameter to false or omit it altogether.

const hyMatrix = new HyMatrix({
debug: false
})

// or
const hyMatrix = new HyMatrix({...})

// or
const hyMatrix = new HyMatrix()