PlatformIO Community

How to add --verbose to platformio.ini?

Hi, Is there anyway to add the verbose in platformio.ini?
Best regards.

Yes, see https://docs.platformio.org/en/latest/core/userguide/cmd_settings.html

Thanks a lot @ivankravets
But I tried many times, such as “build_flag=verbose”, “force_verbose=yes”, “output=verbose”,etc. All of them are failed.
Can you give me an example about how to use “verbose” in the platformio.ini file?

By the way, If I want to let the platformio project generate the “main.c” file, not the “main.cpp” file, when creating the avr-arduino project in the project creating wizard (I will delete the “framework=arduino” in platformio.ini file for native avr programming), is there anyway to do it? I find that some functions have errors in “.cpp” file, but the errors disappeared if I just modify the “main.cpp” to “main.c” manually.
Best regards.

After many attempts, I find that there is a command line in the “TERMINAL” tab:
Snipaste_2020-09-29_20-35-58

And the “Verbose Build”:
Snipaste_2020-09-29_20-20-27

Hope this information helps the beginners who needed.