How to Debug Console Application with Piped Arguments?

Hi,

This feels obvious, but I can't get it to work.

In Visual Studio, under ‘Command line arguments’, I can specify the ‘<’ symbol to pipe in content of a file into a console application to debug it. e.g. “-p 10 < ./filename.txt”

But in Rider, under ‘Program arguments’ it complains that ‘<’ is an unrecognized argument.

Any pointers?

I'm using JetBrains Rider 2024.2.6 on Windows 10.

0
1 comment

Hello,

Thank you for contacting Rider support.
Apologies for taking so long to respond.

Unfortunately, there is no such a possibility on Rider yet. We have the following related feature requests on our tracker:

  • RIDER-39888 Run/Debug configurations "Redirect input from" option is not available in Rider;
  • RIDER-15326 Feature setting log option similar in IntelliJ IDEA;

We would appreciate it if you could upvote them to demonstrate your interest.

Have a nice day!

0

Please sign in to leave a comment.