Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近完成了我的系统的全新安装,我看到了一些奇怪的行为byebug。例如,数组列在元素上,而不是所有内容都在同一行上。这是一个例子:
byebug
(byebug) [1,2,3] 1 2 3
通常,我希望:
(byebug) [1,2,3] [1, 2, 3]
如何byebug“正常”显示数组?
byebug最新版本的:解决了该问题gem 'byebug', '~> 8.0'。现在可以正确打印数组。
gem 'byebug', '~> 8.0'