adding ff/tbird debug
This commit is contained in:
parent
7d15fb8258
commit
a336bb623b
2 changed files with 34 additions and 0 deletions
20
shell/debug_tbird.sh
Executable file
20
shell/debug_tbird.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# run thunderbird in debug mode
|
||||
# modules: imap, ldap, smtp, nntp, pop3, mime, all
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
TB_PATH=$(which thunderbird)
|
||||
# or for MacOSX:
|
||||
#TB_PATH="/Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin"
|
||||
|
||||
MYDATE=$(date "+%Y%m%d_%H%M%S")
|
||||
#NSPR_LOG_MODULES=imap:5,timestamp,sync
|
||||
NSPR_LOG_MODULES=all:5,timestamp,sync
|
||||
#NSPR_LOG_MODULES="ldap:5,timestamp,sync"
|
||||
NSPR_LOG_FILE=/tmp/thunderbird_${MYDATE}.log
|
||||
export NSPR_LOG_MODULES NSPR_LOG_FILE
|
||||
|
||||
"$TB_PATH" &
|
||||
exit $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue