add flag to app to switch on/off output of npm-debug.log