dist/modules/is.js
function isDebug(debugging) {
    // If manually passed just return.
    if (isValue(debugging))
        return debugging;
    var eargv = process && process.execArgv;
    function chkDebug() {
        return (eargv.filter(function (v) { return /^(--debug|--inspect)/.test(v); }).length ||
            isValue(v8debug));
    }
    return function_1.tryWrap(chkDebug)(false);
}
function isDebug(debugging) {
    // If manually passed just return.
    if (isValue(debugging))
        return debugging;
    var eargv = process && process.execArgv;
    function chkDebug() {
        return (eargv.filter(function (v) { return /^(--debug|--inspect)/.test(v); }).length ||
            isValue(v8debug));
    }
    return function_1.tryWrap(chkDebug)(false);
}
function isDebug ( debugging ) { // If manually passed just return. if ( isValue ( debugging ) ) return debugging ; var eargv = process && process . execArgv ; function chkDebug ( ) { return ( eargv . filter ( function ( v ) { return / ^(--debug|--inspect) / . test ( v ) ; } ) . length || isValue ( v8debug ) ) ; } return function_1 . tryWrap ( chkDebug ) ( false ) ; }
Indicates if app is in debug mode.
@param debugging a manual flag to denote debugging.
Indicates if app is in debug mode .