2016-03-08 85 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參數添加到「節點參數」中即可。