build_and_run: Fix debugger not showing Zotero sources when using d

`-jsconsole` somehow prevented Zotero sources from showing up in the
Debugger tab of the Browser Toolbox, but there's no reason to show the
Browser Console when we're showing the Browser Toolbox, so just don't
pass `-jsconsole` when `d` is passed.

Fixes #4503
This commit is contained in:
Dan Stillman 2024-08-10 01:29:28 -04:00
parent 041d190286
commit b564924c7c

View file

@ -64,6 +64,8 @@ if [ $SKIP_BUNDLED_FILES -eq 1 ]; then
fi fi
if [ $DEBUGGER -eq 1 ]; then if [ $DEBUGGER -eq 1 ]; then
PARAMS="$PARAMS -jsdebugger" PARAMS="$PARAMS -jsdebugger"
else
PARAMS="$PARAMS -jsconsole"
fi fi
if [ "`uname`" = "Darwin" ]; then if [ "`uname`" = "Darwin" ]; then
@ -77,4 +79,4 @@ else
exit 1 exit 1
fi fi
"$APP_ROOT_DIR/staging/$command" $profile -ZoteroDebugText -jsconsole -purgecaches $PARAMS "$@" "$APP_ROOT_DIR/staging/$command" $profile -ZoteroDebugText -purgecaches $PARAMS "$@"