title: How can I get better debugging and error messages with Karma and Jasmine tests?
body: <p>I just created a new angular project from <a href="https://github.com/ngbp/ngbp" rel="nofollow">ngbp</a> template. I wanted to use angular-material, and was getting some angular conflicts (material needs 1.4.7 and angular-bootstrap 1.3.x).</p>
  
  <p>So I removed all dependencies from the bower.json file and started from scratch, adding angular-material first, then angular, then ui-router.</p>
  
  <p>So far so good.</p>
  
  <p>When I run grunt to build, I get karma error:</p>
  
  <pre><code>PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 3 of 3 ERROR (0.001 secs / 0 secs)
  Warning: Task "karma:continuous" failed. Use --force to continue.
  </code></pre>
  
  <p>So I deleted all tests and now I get:</p>
  
  <pre><code>PhantomJS 1.9.8 (Windows 7 0.0.0): Executed 0 of 0 ERROR (0.001 secs / 0 secs)
  Warning: Task "karma:continuous" failed. Use --force to continue.
  </code></pre>
  
  <p>So now I have no error messages, and nothing to go on. How do I debug this?</p>