DEV: Use binding.pry instead of byebug for system pause_test (#19420)
binding.pry gives a nicer syntax-highlighted environment and better formatting for inspecting objects, and we still have the byebug continue/step/next commands (which you can also alias via .pryrc) via the pry-byebug gem
This commit is contained in:
parent
f5b464ead5
commit
b6340c0d74
|
@ -7,7 +7,7 @@ module SystemHelpers
|
|||
ask(
|
||||
"\n\e[33mTest paused, press enter to resume, type `d` and press enter to start debugger.\e[0m",
|
||||
)
|
||||
byebug if result == "d" # rubocop:disable Lint/Debugger
|
||||
binding.pry if result == "d" # rubocop:disable Lint/Debugger
|
||||
self
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue