How to add --verbose to platformio.ini?

That does not seem to be working as one would expect. At least not when using VS Code with platformio.

When you set:
force_verbose = yes

And you then compile, you still get a message that you can user "–verbose"for verbose output. And your compile still isn’t verbose. So that setting has no effect on compile output.

The screenshots of @wgt do work (aka, click Verbose Build in platformio itself).

It would be really helpful (and much more intuitive) if force_verbose = yes would effectively do a verbose build too.

Edit
I’m wrong… kind of.

When one does: pio settings set force_verbose 1 then it does work as expected.
I have no clue where this setting is supposed to be stored in config files. It definitely doesn’t work in your project settings platformio.ini.

It also doesn’t work if one does:

[platformio]
force_verbose = yes

… I know how to get it working now (executing that pio command) but i find it super vague and magic that it does work now.

1 Like