<commit_before>module.exports = config => {
  const browser = process.env.BROWSER || 'chrome';

  config.set({
    basePath: '',
    frameworks: ['browserify', 'jasmine'],
    files: [
      'https://static.opentok.com/v2/js/opentok.js',
      'test/**/*.js'
    ],
    preprocessors: {
      'src/**/*.js': ['babel', 'browserify'],
      'test/**/*.js': ['babel', 'browserify']
    },
    browserify: {
      debug: true,
      transform: [
        ['babelify']
      ],
      configure: bundle => {
        bundle.on('prebundle', () => {
          bundle.external('react/addons');
          bundle.external('react/lib/ReactContext');
          bundle.external('react/lib/ExecutionEnvironment');
        });
      }
    },
    reporters: ['spec'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: [browser[0].toUpperCase() + browser.substr(1)],
    singleRun: false
  });
};<commit_msg>Use debug logs in karma<commit_after>module.exports = config => {
  const browser = process.env.BROWSER || 'chrome';

  config.set({
    basePath: '',
    frameworks: ['browserify', 'jasmine'],
    files: [
      'https://static.opentok.com/v2/js/opentok.js',
      'test/**/*.js'
    ],
    preprocessors: {
      'src/**/*.js': ['babel', 'browserify'],
      'test/**/*.js': ['babel', 'browserify']
    },
    browserify: {
      debug: true,
      transform: [
        ['babelify']
      ],
      configure: bundle => {
        bundle.on('prebundle', () => {
          bundle.external('react/addons');
          bundle.external('react/lib/ReactContext');
          bundle.external('react/lib/ExecutionEnvironment');
        });
      }
    },
    reporters: ['spec'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_DEBUG,
    autoWatch: true,
    browsers: [browser[0].toUpperCase() + browser.substr(1)],
    singleRun: false
  });
};
{'fraction_non_alphanumeric': 0.19289878113407524, 'fraction_numerical': 0.007419183889772125, 'mean_word_length': 2.3654188948306594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5060232', 'n_tokens_mistral': 626, 'n_tokens_neox': 611, 'n_words': 98}