In general, how do I specify verbose output without needing to run my task in the terminal each time?
This works in a terminal:
> pio test --verbose
But I can’t figure out how to get verbose output when running a task using the Ctrl-Alt-T
approach.
In the documentation there is a force_verbose
setting, but it’s not clear where this needs to be applied.
Is it an environment setting, a task setting or something else?
I have read these questions:
how-to-add-verbose-to-platformio-ini
where-is-verbose-option-on-build-specified
but they haven’t solved things.
I have tried this in my environment:
[env:native]
platform = native
test_filter = native
PLATFORMIO_SETTING_FORCE_VERBOSE = true
but I got the following:
Warning! Ignore unknown configuration option `platformio_setting_force_verbose` in section [env:native]
so obviously I’m not setting this in the correct place. And anyway, for me should ideally be settable by task, not in the environment.
I tried adding a verbosity flag to my task:
{
"type": "PlatformIO",
"task": "Test (native)",
"problemMatcher": [
"$platformio"
],
"args": ["--verbose"],
"group": "test",
"label": "PlatformIO: Test (native)"
}
but a squiggly line and tooltip says Property args is not allowed
.
I’m very new to PlatformIO and finding the number of ways to apply settings and configurations quite confusing. I’m fine with the concepts of environment variables, compiler options etc., I’m just not sure how those concepts map onto PlatformIO or VSCode.
Thanks in advance, any help is appreciated.