How to use a debugger (Pry) with gitlab

I’ve been trying over the weekend to get a debugger (Pry or pry-byebug) working with Gitlab on my Debian machine

I have, however, encountered many difficulties:

  • first, when installing gitlab using the instructions on the frontpage, I’ve noticed that the pry gem is only included in the development and test groups of the Gemfile which makes debugging not accessible on the production instance.
  • then, I’ve attempted to install the GDK (Gitlab Development Kit) following the tutorial from (, however, upon executing the command make bootstrap, it deleted part of my Debian installation that manages SSH(!!) which froze my machine.

Can anyone, please, help me setup a gitlab instance with debugging enabled?

Thank you very much