Constructor new GlobalWatchlistDebugger() # Debug interface to avoid using console.log directly everywhere At least for now, we need client-side debugging. Messages sent here are added to the debugLog. If wgGlobalWatchlistDevMode is true, they are also printed to the console. Source: Debug.js, line 11 Methods error(info, error) # Parameters: Name Type Description info string The error information error Object If an instanceof Error, it will be the error that is thrown, otherwise a new Error object will be constructed here Source: Debug.js, line 47 info(msg, extraInfoopt) # Parameters: Name Type Attributes Description msg string The debug message extraInfo Object <optional> Any additional information Source: Debug.js, line 22