Skip to content

Support for fish for rdbg --util=init - #377

@dorianmariecom

Description

@dorianmariecom

Your environment

  • ruby -v: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20]
  • rdbg -v: rdbg 1.3.4

Describe the bug

I'm trying to have debugger available in all my gems and apps when debugging, so I would like to use the init feature, but I'm using fish and have to do it manually:

set -x RUBYOPT "-r /Users/dorianmariefr/.rvm/gems/ruby-3.0.2/gems/debug-1.3.4/lib/debug/prelude" $RUBYOPT

To Reproduce

eval (rdbg --util=init -) in a fish shell

Expected behavior

it works and preloads debug gem

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