Ruby shotgun debugging configuration in Intellij

390 Views Asked by At

How would you set up a shotgun debugging configuration in Intellij or RubyMine?

1

There are 1 best solutions below

2
maddin2code On

On RubyMine you have to set up shotgun as a Run/Debug Configuration.

The configuration is easy because shotgun comes as a gem. See my configuration:

enter image description here

After you did that, you can select shotgun from the Select Run/Debug Configuration in the menu bar. Hit the bug instead of the run icon and the debugger will start using shotgun.

enter image description here