Debugging Cucumber.js in IntelliJ

IntelliJ has a plugin for Cucumber.js. This involves enabling and debugging within the IDE. Launch config for cucumber.js works, but debug mode is disabled (Debug button cannot be clicked). Has anyone else had the same problem and managed to solve it? Debugging is very important to me. Thank!

+3


source to share


2 answers


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



I just set the node.js plugin run configuration -> JavaScript file: node_modules /. Bin / cucumber.js (any path to cucumber.js file)

+5


source


I added support via cucumberjs grunt plugin. Hope this is what you are looking for. Here https://github.com/mavdi/grunt-cucumberjs#optionsdebugger



0


source







All Articles