0

How can I debug a project in IntelliJ Idea while capturing input from a text file? I can load the project like so from Terminal:

java -jar tm.jar < wants.txt

I want the capability step into/debug code while looping over the text file content.

codeg
  • 333
  • 1
  • 6
  • 21

1 Answers1

1

You can use remote debug functionality in IntelliJ by adding some JVM arguments to your application. You can also see more info here.

Community
  • 1
  • 1
Koby
  • 605
  • 5
  • 11