Cucumber.js debugging in IntelliJ

早过忘川 提交于 2019-12-23 12:19:26

问题


IntelliJ has a plugin for Cucumber.js. This suppose to enable running and debugging inside the IDE. The run configuration for cucumber.js works, but the debug mode is deactivated (Debug button can not be clicked). Does anybody else has the same problem and managed to solve it? Debugging is very essential to me. Thanks!


回答1:


Instead of using the cucumber.js plugin, I used the run/debug configuration of node.js.

I just set the run config of the node.js plugin like that -> JavaScript file: node_modules/.bin/cucumber.js (any path to the cucumber.js file)




回答2:


I have added support it via cucumberjs grunt plugin. Hope thats what your are looking for. Here, https://github.com/mavdi/grunt-cucumberjs#optionsdebugger



来源:https://stackoverflow.com/questions/30640253/cucumber-js-debugging-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!