Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

grunt-karma debug unminified sources

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?

like image 752
pgpb.padilla Avatar asked May 09 '14 08:05

pgpb.padilla


1 Answers

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,  

...
like image 59
pgpb.padilla Avatar answered Oct 16 '22 16:10

pgpb.padilla