27
24

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

binding.pry から脱出するコマンド

Posted at

binding.pry は debug の際に step 実行を行うことができ非常に便利なものです。
ただ脱出方法がいまいちわからず RSpec などで複数のテストケースを実行してしまう時など Ctrl + D の連打はつらいものがありました。
それでちょっと調べてみたらすぐにでてきました・・・。

exit!

とかで脱出できるみたいです。
他にも exit-programdisable-pry などを使う人もいるみたいです。

Ref.

27
24
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
27
24

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?