豚吐露@wiki
pry設定
最終更新:
Bot(ページ名リンク)
-
view
Ruby - pry設定
pryの設定memo
~/.pryrc
Pry::Commands.command /^$/, "repeat last command" do _pry_.run_command Pry.history.to_a.last end Pry.editor = 'vim' if defined?(PryByebug) Pry.commands.alias_command 's', 'step' Pry.commands.alias_command 'n', 'next' Pry.commands.alias_command 'fin', 'finish' Pry.commands.alias_command 'c', 'continue' Pry.commands.alias_command 'w', 'whereami' end
更新日: 2018年08月09日 (木) 16時39分54秒
- `pry-nav`と`pry-byebug`は同時に入れるとまともに動かない。
`pry-nav`=>`pry-debugger`=>`pry-byebug`という系譜らしい。 -- (s1n) 2018-08-09 16:31:37