jsDebug is a simple utility created to assist with debugging JavaScript development cross-browser.
The usual method for debugging JavaScript is to pepper the code with alert()
calls to give you feedback on how the script is executing, this is especially useful in browsers that supply vague and un-helpful information about errors (or even their exact location), but can soon become counter productive – confirming multiple alert boxes breaks the code, test, code flow. This script creates a console to send messages to, where you would have traditionally used alert()
.
View the jsDebug code entry for the download, instructions on it’s implementation, to see it in action view the jsDebug demo page.