Skip to content

How To: Debug incoming widget data

pushmatrix edited this page Oct 30, 2012 · 1 revision

If you want to log incoming data to the console, you can use the following setting in application.coffee

Dashing.on 'ready', ->
  Dashing.debugMode = true

Otherwise, drop a debugger line in the onData method of a widget.

onData: (data) ->
    debugger