Search code examples
androidandroid-studiointellij-ideakotlin-symbol-processing

How to set --verbose in IntelliJ (Android Studio) for KSP debugging purposes?


As shared in https://stackoverflow.com/a/75441869/3286489, we have a way to print log out for KSP compilation.

However, the print out only shows WARNING and ERROR. If I want to have INFO, I'll need to set --verbose.

The question is, where or how can we set the --verbose in IntelliJ (Android Studio), so that in compilation, it will print the verbose log out (other than Warnings and Errors)?


Solution

  • Looks like I can set it in

    Preference --> Compiler --> Commandline-Options

    And write --info to it.

    enter image description here