Ruby debugger

This is a rather simple question. I’m writing a program
that expects information to be piped into it from stdin
as well as some command line information. I just can’t
figure out how to pass a file to my program through
stdin and pass command line options to my program while
in ruby’s debugger.

Hi,

···

In message “ruby debugger” on 03/06/26, Rob Warning cleeker@gmx.net writes:

This is a rather simple question. I’m writing a program
that expects information to be piped into it from stdin
as well as some command line information. I just can’t
figure out how to pass a file to my program through
stdin and pass command line options to my program while
in ruby’s debugger.

The debugger itself uses stdin/stdout. You have to open file
manually to debug.

						matz.