Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cucumber.js debugging in IntelliJ

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!

like image 834
futchas Avatar asked Mar 16 '23 20:03

futchas


1 Answers

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)

like image 177
futchas Avatar answered Mar 24 '23 13:03

futchas