CelliC.js调试在IntelliJ [英] Cucumber.js debugging in IntelliJ

查看:167
本文介绍了CelliC.js调试在IntelliJ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IntelliJ有一个用于Cucumber.js的插件。这是为了在IDE中启用运行和调试。 cucumber.js的运行配置工作,但调试模式被禁用(调试按钮不能被点击)。有没有人有同样的问题,并设法解决它?调试对我来说非常重要。谢谢!

解决方案

而不是使用cucumber.js插件,我使用了node.js的run / debug配置。



我刚刚设置了这样的node.js插件的运行配置 - >
JavaScript文件:node_modules / .bin / cucumber.js(任何路径cucumber.js文件)


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!

解决方案

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)

这篇关于CelliC.js调试在IntelliJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆