debuggingprotactor(有/没有webstorm)

所以我从量angular器开始,我想debugging我的testing代码:

describe('stuff', function(){ it('should find the specs item, and its empty', function(){ browser.debugger(); gotoHome(); var allItems = element.all('li in model.tags'); var specsDashboardElement; for (var i=0 ; i < allItems.length; ++i) { var elem = allItems[i]; var text = elem.findElement(by.css('.li-title').getText()); // does this even work?? dunno if (text == "Specs") specsDashboardElement = elem; } expect(specsDashboardElement.isDisplayed()).toBe(true); }); 

});

我遵循这些说明 ,但这是我在node.jsdebugging器控制台上看到的输出:

D:\ src \ apps \ j1-test.module>量angular器debug conf.js
<侦听端口5858的debugging器
连接…好的
C:\ Users \ j \ AppData \ Roaming \ npm \ node_modules \ protractor \ lib \ cli.js:7
5 *来自命令行选项的值将覆盖configuration中的值。
6 * /
7'严格使用';
8
9 //这里需要咖啡来启用用coffee-script编写的configuration文件。
debugging>续
<————————————
<PID:9756(能力:铬#1)
<————————————
<侦听端口5858的debugging器
debugging>

就是这样。 无论我input多less种“续”,都没有任何反应。
我试着按照WebStorm中的debugging说明进行操作,并得到了相同的结果(在WebStormdebugging控制台上输出:

“C:\ Program Files \ nodejs \ node.exe”–debug-brk = 2259 C:\ Users \ j \ AppData \ Roaming \ npm \ node_modules \ protractor \ lib \ cli.js conf.js
debugging器在端口2259上侦听
PID:2708(能力:铬#1)
debugging器在端口2259上侦听

)。

我在Windows 8上使用节点0.10.26(64位)

想法任何人?

这是一个量angular器问题,现在应该解决:

“修复是在 – 应该是下一个版本,感谢您的耐心,每个人。” – @ juliemr

从GitHub问题#552

编辑:发布在0.20.0版本! (Windows用户为0.20.1)。 请参阅量angular器更改日志 。