2016-03-08 51 views
3

在OSX,我已配置的IntelliJ 15运行/调试任务,在这个问题:如何调试Intellij中的量角器?

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

Got it!只需在运行/调试配置窗口中将--harmony参数添加到“节点参数”中即可。