moderator-toolbox-nxg-for-reddit / util/infra/debug

util/infra/debug

Functions

debugInformation()

debugInformation(): Promise<{ advancedSettings: any; browser: string; browserVersion: string; compactMode: any; cookiesEnabled: boolean; debugMode: any; platformInformation: string; toolboxVersion: string; }>

Defined in: extension/data/util/infra/debug.ts:13

Collects version, browser, and relevant setting values for debugging purposes.

Returns

Promise<{ advancedSettings: any; browser: string; browserVersion: string; compactMode: any; cookiesEnabled: boolean; debugMode: any; platformInformation: string; toolboxVersion: string; }>

An object with toolbox version, browser info, and key setting states; also logs it to the console.