mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +00:00
9 lines
252 B
TypeScript
9 lines
252 B
TypeScript
import { ExecutionVars } from '../controllers/internal'
|
|
|
|
export const isDebugOn = (vars: ExecutionVars) => {
|
|
const debugValue =
|
|
typeof vars._debug === 'string' ? parseInt(vars._debug) : vars._debug
|
|
|
|
return !!(debugValue && debugValue >= 131)
|
|
}
|