Project

General

Profile

Actions

Feature #32193

closed

Enable byebug remote for development

Added by Lukas Zapletal about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
-
Difficulty:
Triaged:
Yes
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.

Actions #1

Updated by The Foreman Bot about 3 years ago

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

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #3

Updated by Lukas Zapletal about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF