code: function(debugMode){
  
          for (var i = 0; i < this.world.getItemCount(); i++) {
              this.world.getItemAt(i).debugMode = debugMode;
          }
  
          this.debugMode = debugMode;
          this.forceRedraw();
      }
docs: Turns debugging mode on or off for this viewer.
  
  @function
  @param {Boolean} true to turn debug on, false to turn debug off.