 
 # Write the dependency bundle out to the temporary file.
 writeDeps = (callback) ->
-  depsBundle.bundle (err, depsContent) ->
+  depsBundle.bundle debug: debug, (err, depsContent) ->
     return err if err
     fs.writeFile tmp, depsContent, (err) ->
       return err if err

# The temporary `karma-browserify.js` file path.
tmp = null

# 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']
