Unable to set up debugging #549
Description
I've followed the instruction on debugging (https://github.com/angular/protractor/blob/master/docs/debugging.md), both with node debugger and with webstorm, but with no success.
In both cases, I just get a console message saying that the node debugger is listening, but my breakpoints aren't being hit.
output from node debugger:
D:\src\apps\j1-test.module>protractor debug conf.js
< debugger listening on port 5858
connecting... ok
break in C:\Users\j\AppData\Roaming\npm\node_modules\protractor\lib\cli.js:7
5 * Values from command line options override values from the config.
6 */
7 'use strict';
8
9 // Coffee is required here to enable config files written in coffee-script.
debug> cont
< ------------------------------------
< PID: 9756 (capability: chrome #1)
< ------------------------------------
< debugger listening on port 5858
debug>
I'm trying to debug example_spec.js:
describe('angularjs homepage', function() {
it('should greet the named user', function() {
browser.get('http://www.angularjs.org');
browser.debugger();
element(by.model('yourName')).sendKeys('Julie');
var greeting = element(by.binding('yourName'));
expect(greeting.getText()).toEqual('Hello Julie!');
});
any Idea?
P.S.
same thing, unanswered, on SO- http://stackoverflow.com/questions/21992414/debugging-protactor-with-without-webstorm