WM Debug Console

By Charlie Ewing Last update Oct 25, 2012 — Installed 124,949 times.

Script Summary: Creates a debug console that slides up from the bottom right of the screen like a hidden tab.



Version: 3.0.0.5

Copyright: Charlie Ewing except where noted

License: http://creativecommons.org/licenses/by-nc-nd/3.0/us/

Script homepage

Creates a debug console that slides up from the bottom right of the screen like a hidden tab.

The console is similar in function to the browser's JS console.

You can print just about anything to the console using the debug.print method.

Messages printed to the window follow a yet to be finished severity level. You can set the display sensitivity to capture various levels of details.

The console has a maximum number of lines that can be modified. Default is 100 lines. DOM structure can be memory intensive especially when using DOM editing and validating software. Use higher limits at your own risk.

This script requires the WM Library, so make sure that is in good working order before using this script.

You can append the debug console to just about any window object from any script.

The debug console now is set to draw a new console when one does not already exist, or to fetch the existing console and share its use with all other scripts on the page.

If you have questions or comments, please see http://fbwm.wikia.com/wiki/Debug_Console for more info.