How to add debugging log messages with Karma + angular and how to disable them?
You can create base karma config. Than create two karma config based on base but with overwritten logLevel:
logLevel: config.LOG_DISABLE
logLevel: config.LOG_DEBUG
.
Then create two separate tasks in your task manager config file, for instance Gruntfile.js
using those karma configs.