You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be incredibly useful if you could provide a sample of how you could debug karma jasmine tests which use PhantomJS as the browser for running the test suite.
I'm aware that many people are using PhantomJS for testing so it might be good idea to write something like that in the future. Since I'm not using your setup for testing I wouldn't be the right person to do it.
Anyway this is general debugger for any PhantomJS script which means that tests are just small fraction of what you can actually do with PhantomJS and this debugger.
You wouldn't need my exact set up, just a very basic and generalised example using the default karma.conf with PhantomJS as the browser and executing it via karma start would be enough to get most people going I think, and would probably encourage more people to use this extension.
@iradul - I think just a way to capture PhantomJS that in invoked from a karma test via the karma-phantomjs-launcher would be a big help. If I had that, I could debug my tests inside Visual Studio Code instead of relying on the slightly odd phantomjs browser based debugger.
If you need help updating your code, or with modifying karma-phantomjs-launcher, or with a simple example app to work from, I'd be happy to help.
Reacted by Ilya Kuznetsov, Onur Temizkan, Stef Heyenrath, Francois Lachance-Guillemette and H0w Xd
Activity
iradul commentedon Apr 25, 2016
I'm aware that many people are using PhantomJS for testing so it might be good idea to write something like that in the future. Since I'm not using your setup for testing I wouldn't be the right person to do it.
Anyway this is general debugger for any PhantomJS script which means that tests are just small fraction of what you can actually do with PhantomJS and this debugger.
milkshakeuk commentedon Apr 26, 2016
You wouldn't need my exact set up, just a very basic and generalised example using the default karma.conf with PhantomJS as the browser and executing it via
karma startwould be enough to get most people going I think, and would probably encourage more people to use this extension.Rookian commentedon Dec 30, 2016
Agree with @milkshakeuk. Please provide a setup documentation on how to debug an Angular2 application with karma and PhantomJs.
sjd78 commentedon Feb 17, 2017
@iradul - I think just a way to capture PhantomJS that in invoked from a karma test via the karma-phantomjs-launcher would be a big help. If I had that, I could debug my tests inside Visual Studio Code instead of relying on the slightly odd phantomjs browser based debugger.
If you need help updating your code, or with modifying karma-phantomjs-launcher, or with a simple example app to work from, I'd be happy to help.
h0wXD commentedon May 18, 2017
Also looking for this feature. Is there any update for this? Would be incredibly useful to debug test cases from inside VSC.