MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / debug

Method debug

src/monogatari.ts:739–747  ·  view source on GitHub ↗

* @static debug - If the Monogatari debug file is present, this function * will give access to the debug tools that are a replacement for the console * log functions. * * @returns {Debug} - Proxy to the Artemis Debug Class

()

Source from the content-addressed store, hash-verified

737 * @returns {Debug} - Proxy to the Artemis Debug Class
738 */
739 static get debug () {
740 return new Proxy (Debug, {
741 apply (target, receiver, args) {
742 if (typeof MonogatariDebug === 'object') {
743 return Reflect.apply (target, receiver, args);
744 }
745 }
746 });
747 }
748
749 static set debug (_) {
750 throw new Error ('Debug reference cannot be overriden.');

Callers 15

initMethod · 0.80
bindMethod · 0.80
bindMethod · 0.80
willMountMethod · 0.80
bindMethod · 0.80
didMountMethod · 0.80
runListenerFunction · 0.80
goBackFunction · 0.80
revertFunction · 0.80
runFunction · 0.80
rollbackFunction · 0.80
shouldProceedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected