add debugger that can be turned on with setting Global.debugg=true in
console