Collecting Java debugger logs

To get the raw logs from the Java debugger please perform the following steps:

  1. Add -Didea.debugger.trace=ALL into the .vmoptions file, refer to this document for details how to do it on your system.
  2. Start IntelliJ IDEA from the command line (Terminal) so that console output can be observed. On Windows run bin\idea.bat, on Linux start with bin/, on Mac use this command in the Terminal: /Applications/IntelliJ\ IDEA\ (where XX is IDEA version).
  3. Reproduce the problem with the debugger, copy all the text from the console and attach it to your report.

In case there is a lot of output it may be handy to start IntelliJ IDEA with the console output redirected to a file (idea.bat > output.txt on Windows, > output.txt on Linux).


If you see the following output when running,

Error: Could not find or load main class # custom IntelliJ IDEA VM options

, edit idea.exe.vmoptions to remove the illegal comment "# custom IntelliJ IDEA VM options" to work around this defect.

Edited by bikernut_mass

There could be some issue with your .vmoptions file in the config directory ( Wrong line endings or some incorrect Unicode symbol or option.


Please sign in to leave a comment.

Have more questions?

Submit a request