Enable Greenlight debug logs in Android Studio or IntelliJ
You can enable debug logs to get troubleshooting information for Veracode Greenlight. You can use this information to troubleshoot issues on your own or provide it to Veracode Technical Support.
Before you begin:
You meet the Greenlight prerequisites.
To complete this task:
- In your IDE, select Help > Edit Custom VM Options. A
.vmoptions
file opens. - In the
.vmoptions
file, add this property:-Dgreenlight.debug=true
. - Save the file.
A new greenlight.log
file now logs your Greenlight actions. The file is located in:
- Windows
- macOS
- Linux
C:\users\username\AppData\Local\Temp\
In your terminal, run open $TMPDIR
/tmp