-1

By default byebug shows 10 lines, e.g. lines [40, 49] How can I easily see some more surrounding code? For example lines 30-60

Daniel Garmoshka
  • 5,849
  • 39
  • 40

2 Answers2

1

You are looking for set listsize.

P.S. never used byebug, just a quick sight on the gem's Readme.

Andrey Deineko
  • 51,333
  • 10
  • 112
  • 145
0

another solution is

l 30-60

Thanx to Andrey Deineko, never would find readme with documentation about asked method

Daniel Garmoshka
  • 5,849
  • 39
  • 40