Skip to content

Startup message about "debug" command is partially wrong #1227

Description

@okuramasafumi

Problem

One of the startup messages says: '"debug" to start integration with the "debug" gem'
Actually, debug command only works when IRB was started with binding.irb. The evidence is

unless binding_irb?
puts "Debugging commands are only available when IRB is started with binding.irb"
return

So, technically speaking, that startup message could be wrong.

Solution

One simple solution is just deleting that message.
Another solution could be mentioning the fact in that message, but I personally don't like it because the massage will be too long.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions