deivid-rodriguez/byebug

Feature Request: Add support for init hook

kwerle opened this issue · 0 comments

I would like to execute one (or more) ruby commands when byebug starts:

RSpec.configure { |config| config.fuubar_auto_refresh = false } if RSpec

Byebug does not appear to support that (https://github.com/thekompanee/fuubar#disabling-auto-refresh).

This seems like a substantial feature. Is there a workaround?

I would imagine a file like .byebug_hook and maybe a command source <filename>. There are times when I would like to execute substantial blocks of ruby code, too...