diff options
Diffstat (limited to 'data/lib/util.js')
-rw-r--r-- | data/lib/util.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/lib/util.js b/data/lib/util.js index fa111aa..5b628cf 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -356,6 +356,9 @@ NotLoggedinException.prototype.toString = function () { return this.name + ': "' + this.message + '"'; }; +// Are we debugging? +var debugFlag = false; + console.myDebug = function myDebug(str) { if (debugFlag) { console.log(str); |