【问题标题】:How to debug protractor in Intellij?如何在 Intellij 中调试量角器?
【发布时间】:2016-06-22 07:02:38
【问题描述】:

在 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

有什么想法吗?

提前致谢。

【问题讨论】:

    标签: angularjs intellij-idea protractor


    【解决方案1】:

    知道了!只需在运行/调试配置窗口的“节点参数”中添加--harmony参数即可。

    【讨论】:

      猜你喜欢
      • 2015-02-26
      • 2016-09-12
      • 1970-01-01
      • 2013-12-06
      • 1970-01-01
      • 1970-01-01
      • 2014-07-25
      • 2016-07-06
      • 1970-01-01
      相关资源
      最近更新 更多