How can I redirect a file contents to STDIN (while debugging)?

What I'm trying to do is basically:

./myProgram < myData.txt


While I'm debugging with CLion IDE. I just can't find the option to do so.

Thank you very much.
1 comment
Comment actions Permalink

Hi John.

We have a feature request in the tracker already:
https://youtrack.jetbrains.com/issue/CPP-3153
Feel free to comment or upvote.

1

Please sign in to leave a comment.