eclipse console log equivalent in intellij

While testing my eclipse plugin i would use

eclipse.exe -consolelog

this would help me see the traces/sops.

Is there something similar we can do with Intellij.

3 comments
Comment actions Permalink

In the run configuration settings, there is a checkbox "Show idea.log". If you enable it, the run toolwindow will have a tab showing the log of the IntelliJ IDEA instance running with your plugin.

0
Comment actions Permalink

Sorry I was not clear in my Question.

I have a plugin, I make an instalable with it and install that plugin in intellij. When i do some action with my plugin...ie i invoke a menu or go to settings and do something, my code gets executed...I have some sop in my code...i want to see that. I also want to see any runtime exceptions that occur in my code.

0
Comment actions Permalink

You can run IntelliJ IDEA using idea.bat instead of idea.exe. Then you will see the console output directly in the console window.

Note that it's recommended to use IntelliJ logging instead of System.out. Then you will be able to open idea.log in a text editor and see the output without having to run IntelliJ IDEA in any non-standard way.

0

Please sign in to leave a comment.