How can I debug task rules?

Imported Question by derick · Aug 31, 2016 at 06:13 PM

If I wanted to test whether the tasks code embedded in the app_settings.json files is being called / evaluated, where do I check?

Standard JS logging should work: console.log()

Add console.log() In the function that you want to make sure is getting called. Afterwards, look at your browser console while performing actions that should cause the task rules to fire.

3 Likes

cht-conf-test-harness@2.1 now supports setting breakpoints and debugging through application code including tasks.js and targets.js files

image

3 Likes