src/main.js
/**
   * Log Watson Assistant context values, so we can follow along with its logic. 
   */
Log Watson Assistant context values, so we can follow along with its logic.
Log Watson Assistant context values so we can follow along with its logic .
printContext(context) {
    if (context.system) {
      if (context.system.dialog_stack) {
        console.log('Dialog Stack:');
        const util = require('util');
        console.log(util.inspect(context, false, null));
      }
    }
  }
printContext ( context ) { if ( context . system ) { if ( context . system . dialog_stack ) { console . log ( 'Dialog Stack:' ) ; const util = require ( 'util' ) ; console . log ( util . inspect ( context , false , null ) ) ; } } }
Log Watson Assistant context values, so we can follow along with its logic.
Log Watson Assistant context values so we can follow along with its logic .