PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

`singleRun: false` no output to console when running test #197

Open phucpnt opened 7 years ago

phucpnt commented 7 years ago

Hello,

from the file karma.conf.js if i change the singleRun to false, karma would be start and run the test, but no output provide to the console.

Let me know Phuc

thematho commented 7 years ago

@phucpnt In that case the console will only show syntax errors from the spec files. When Karma starts it will open a bowser window with http://localhost:9876. You have to press the Debug button and It will open http://localhost:9876/debug.html if you open the Chrome developer tools on this last window You will see the entire log and It will run every time you refresh the browser, if you modify any file you should see the updated result as well.

mocsharp commented 7 years ago

Is there anyway to debug karma in VS Code? Thanks!