I wrote a program which process the data sent from standard input and
print sth out.
In console, i can execute it by:
cat input_file | ./some_program
or
./some_program < input_file
My question is where can i specify reading input from file when debugging?