Ah, ok. So if I run this in a CI/CD pipeline I should prefer to put the 
variable providing the --debug flag where lb build is called and not in the 
auto/config file.

Thank you!

Hello Emil,

On 08/01/2025 15:27, Södergren Emil wrote:
> I am running a live-build where I run the command:
> 
>   lb config noauto … lots of parameters … --debug
> 
...
 > Is > there a better way to actually set the _DEBUG printing from 
 > configuration?

Indeed there is.
It's documented in 'man live-build': there are some command line options that 
are explicitly not stored in the configuration file, but need to be provided to 
each 'lb' invocation.

So in your case you would want to use 'lb build --debug'.
As a benefit, your unmodified configuration can also be used to build without 
the debugging information.

With kind regards,
Roland Clobus

Reply via email to