如何在Intellij中调试量角器?

时间:2016-03-08 11:02:19

标签: angularjs intellij-idea protractor

在OSX中,我已经配置了Intellij 15运行/调试任务,如下所示:

How to debug angular protractor tests in WebStorm

它运行正常,但调试不起作用。它抛出:

/usr/local/bin/node --debug-brk=60144 --nolazy /usr/local/lib/node_modules/protractor/lib/cli.js /Users/XXXX/Workspace/frontend-test/config.js
Debugger listening on port 60144
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriver

Process finished with exit code 139

有什么想法吗?

提前致谢。

1 个答案:

答案 0 :(得分:1)

知道了!只需在“运行/调试配置”窗口中将“{1}}参数添加到”节点参数“。