nathanboktae / mocha-phantomjs

:coffee: :ghost: Run client-side mocha tests in the command line through phantomjs
MIT License
954 stars 112 forks source link

Running the remote debugger #156

Closed fakedrake closed 9 years ago

fakedrake commented 10 years ago

Is there a way to run the remote debugger from mocha-phantomjs?

nchase commented 10 years ago

I don't know your exact setup, but I'll take a stab at this anyway: is there some way you can just navigate to the page (e.g. file:///path/to/test.html) or webserver (e.g. http://test-server/test.html)?

fakedrake commented 10 years ago

I have no setup yet actually, I am just trying to figure out a good way to get all the features that I need from phantomjs.

nathanboktae commented 9 years ago
phantomjs --remote-debugger-port=9000 lib/mocha-phantomjs.coffee <your tests> <reporter> <config as json>
nathanboktae commented 9 years ago

Tracking the long term fix for this in #186