Skip to content

irb as _default_ debug front-end? #712

@jon-sully

Description

@jon-sully

Description

Greetings! I've been playing with the new irb/debug integration that was recently released and overall the experience is really great. Having full irb context while being in a full debug session is really nice. The irb:rdbg prompt is easy to work with and simple — kudos! ☺️

I'm hoping we can improve the experience a bit though. My understanding is that right now the only way to properly enter this context/experience is to use binding.irb to halt the code, then once in that irb session, manually call debug.

After migrating to the debug gem after years of pry/byebug, it took some time for me to retrain my muscle memory for debugging to use debugger rather than binding.pry etc. but I've found that even with irb's new front-end integration working with the debug gem, the debugger still only loads the default debug front end. Is there any way that we could consolidate the whole experience such that simply using debugger drops into the full irb:rdbg session?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions