Skip to content

DebugWall Widget v7

kecerit edited this page Nov 15, 2021 · 3 revisions
  • status : complete
  • version : 7.x

Illustration

Illustration of the DebugWall widget


Appearance of the DebugWall widget in the Monitor interface.

Introduction

Intercepts incoming and outgoing messages and logs, and prints them numbered and timestamped in div.

Warning! Modifies some core functions, therefore its usage in production is not recommended.

Main Options

  • msgIn: If FALSE, incoming messages are ignored.
  • msgOut: If FALSE, outgoing messages are ignored.
  • log: If FALSE, log messages are ignored.
  • hiddenTypes: An object containing what is currently hidden in the wall as keys.

Usecase

// Creates and appends a new DebugWall widget.
var root = document.body;
var chat = node.widgets.append('DebugWall', root);

Links

Clone this wiki locally