Re: [Evolution] Help configuring debugging



On 2022-01-10 Bridger Dyson-Smith wrote:
Using the notes here[1], I've set up a simple script to help start
Evolution: (...)

Hello Bridger

Note that in your script you were not exporting the variables, so
evolution would not see them.

You would want to either do

export EWS_DEBUG=1
export CAMEL_DEBUG=...

or, if your shell doesn't support this abbreviated form / you want to
be strictly POSIX conformant, add a export for each variable as its own
statement.

Alternatively, you can use 
  set -a
before defining the variables, so that they automatically get the
export attribute (set -a is defined by POSIX).

Finally, you do not want to use $():

  $(evolution >> ~/evolution-debugging-log.txt 2>&1)

this asks to execute a program with the name of the output of evolution
(which you are redirecting to a file, so it would actually don't return
any program name to run)

You would want to list it as-is:
  evolution >> ~/evolution-debugging-log.txt 2>&1


Best regards




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]