karma-runner / grunt-karma

Grunt plugin for Karma.
MIT License
468 stars 116 forks source link

Debug with unminified sources #105

Closed pgpbpadilla closed 10 years ago

pgpbpadilla commented 10 years ago

I remember that at some point in the past I could actually debug my tests with Chrome Dev Tools and go into my unminified sources.

I'm not sure if this is a configuration option that was changed but now whenever I try to debug my tests using Chrome I see only the minified sources.

Is there an option I need to set to see the unminified sources?

pgpbpadilla commented 10 years ago

Never-mind, disabling the preprocessors Karma configuration in the Gruntfile.js did it.

    var karmaConfig = {
    ...

      preprocessors: {
        // 'js/**/*.js': 'coverage'
        },
      reporters: ['spec', 'coverage'],
      colors: true,
      singleRun: false,
      usePolling: true,  

    ...