adding ff/tbird debug

This commit is contained in:
tengel 2024-03-20 11:28:46 -05:00
parent 7d15fb8258
commit a336bb623b
2 changed files with 34 additions and 0 deletions

14
shell/debug_ff.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
#
# run firefox in debug mode
#
# SPDX-License-Identifier: MIT
FF_PATH=$(which firefox)
MYDATE=$(date "+%Y%m%d_%H%M%S")
NSPR_LOG_MODULES=all:5
NSPR_LOG_FILE=/tmp/firefox_${MYDATE}.log
export NSPR_LOG_MODULES NSPR_LOG_FILE
"$FF_PATH" &
exit $?