Handling errors in Clerk.js.

You can use the clerk debugger to inspect what happens in clerk.js v2 if anything should go wrong.
The debugger exposes a visual interface that lets you log all clerk interactions and inspect the parameters in the different API calls.

Configuring the debugger

The easiest way to enable the debugger is through the URL Configuration method. This could look like:

The debugger has 4 different parameters that can be set using either the URL configuration or the debuggers interface.

levelDefines the log level. Can be either log warn or error. By default the level is 'warn'.string
collectDefines if the logger should use the browsers storage, or use temporary storage to save log messages. Default is true.bool
enableEnables clerk debug messages to the browsers console. Default is truebool