 # The temporary `karma-browserify.js` file path.
 tmp = null
 
+# Debug mode adds sourcemaps to the bundle.
+debug = false
+
 # The safe configuration keys to apply to the browserify bundles.
 configs = ['transform', 'ignore']
 

      writeDeps -> done fileContent

configuredBrowserify = (files, config) ->
  options = {
    entries: files and [].concat files
    extensions: config.extension
    noParse: config.noParse
  }

  bundle = browserify(options)

  applyConfig bundle, config

  bundle

framework.$inject = ['config.files', 'config.browserify']

  # Initialize a browserify bundle for the global dependencies and apply the
  # Karma configuration.
  depsBundle = configuredBrowserify undefined, config

  # Turn on debug if given in config.
  debug = config.debug

# ## Preprocessor
preprocessor = (logger, config) ->
