Module: utils/useDebug

Methods

(static) useDebug(mode, scope) → {function}

composable to enable extended debugging, with optional scopes and override mode. Automatically activates, if the .env file contains VITE_DEBUG_CLIENT with a value, that is a supported console method, such as 'log', 'info', 'debug', 'warn', 'error' etc.

Parameters:
Name Type Description
mode
scope
Source:
Returns:
Type
function