Page Contents
Home > @loopback/context > Context > _debug
Context._debug property
A debug function which can be overridden by subclasses.
Signature:
protected _debug: Debugger;
Example
import debugFactory from 'debug';
const debug = debugFactory('loopback:context:application');
export class Application extends Context {
super('application');
this._debug = debug;
}