Configure IntelliJ to print the standard output in

2019-02-02 20:06发布

问题:

How can I configure IntelliJ to capture the standard output of the application to a file, but still display it in the standard console window?

回答1:

This feature is available starting from IntelliJ IDEA 11 (not released at the moment of this writing, but EAP is available):



回答2:

This feature does work in IDEA 14.1.1. Also in Run/Debug configuration.

The writing occurs after the run finishes.