- 
                Notifications
    You must be signed in to change notification settings 
- Fork 321
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 = trueOtherwise, drop a debugger line in the onData method of a widget.
onData: (data) ->
    debugger- Home
- Dashing Workshop
- Installation
- Widgets
- Configuration
- Security
- Troubleshooting
- Deploying dashboards
- How Tos
- How to: post data to your dashboard and widgets
- How to: Define a data model and store history data to database
- How to: Prevent a job from overlapping with itself
- How to: Send HTML data to your widgets
- How to: Send mysql data to your widgets
- How to: Setup a Graph
- How to: Store data to and display from database
- How to: Update a Dashboard using a spreadsheet
- How to: update dashboard in Django
- How to: Update font awesome fonts from version 3 to 4
- How to: Use New Relic with Dashing
- How to: precompile assets
 
- Development