DebugController.set
DebugController › set
Type: (namespaces: string | string[]) => void
Set debug namespaces, replacing all previous configurations.Example:
window.DEBUG.set(['foo-bar', 'baz-qux:*', '-lorem-ipsum']); // Enable 'foo-bar' and 'baz-qux:*', explicitly disable 'lorem-ipsum'window.DEBUG.set('foo-bar,baz-qux:*,-lorem-ipsum'); // Same thing using comma-separated stringwindow.DEBUG.set('*'); // Enable all debug messageswindow.DEBUG.set(''); // Disable all debug messages