Project

General

Profile

Feature #32193

Enable byebug remote for development

Added by Lukas Zapletal 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We already pull byebug debugger as pry-byebug dependency. Unfortunately, pry remote debugger (pry-remote) does not work properly when rails is started without an interactive terminal and also pry is a REPL tool not a full debugger.

I propose to add byebug gem explicitly into the development gem group and also including an initializer which will start remote debugger if an environment variable is set. Note this is not meant for production deployments.

This will unify debugging possibilities and enable anyone with little effort to start a debugging session. I plan to include instructions in our Contributing guide.

Associated revisions

Revision db65dbba (diff)
Added by Lukas Zapletal 5 months ago

Fixes #32193 - enable byebug in development

History

#1 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8411 added

#2 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.5.0 added

#3 Updated by Lukas Zapletal 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF