Search code examples
rubycucumberrubymine

RubyMine - How do I Debug Cucumber Step files?


RubyMine - How do I Debug Cucumber Step files? I have googled this a a bit and any information I have found has not worked for me. Has anyone got step files to debug when using RubyMine?

Thanks


Solution

  • Horrendously common problem with many, many failed solutions online. You don't need any new gems, no need to change settings.

    Quite likely, you have all your feature files in the root folder.

    It sounds ridiculous, but make a new folder, places the feature files in there (call it something generic like "tests").

    Set a breakpoint, and try again. This should remedy it.