Debugging protranslators from the console

I have a proto-translator test through a gulp-protractor. How can I debug this test using the command line (e.g. via the node debugger)?

Is there a config option for this?

+3
debugging node.js protractor


source to share


2 answers


Recently (as with Protractor 5.0.0) the recommended way to do this has become browser.enterRepl()

.



+6


source to share


Starting with the protractor documentation:

https://github.com/angular/protractor/blob/master/docs/debugging.md



browser.debugger()

and browser.pause()

should be helpful.

+2


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics