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:
parent
041d190286
commit
b564924c7c
1 changed files with 3 additions and 1 deletions
|
@ -64,6 +64,8 @@ if [ $SKIP_BUNDLED_FILES -eq 1 ]; then
|
|||
fi
|
||||
if [ $DEBUGGER -eq 1 ]; then
|
||||
PARAMS="$PARAMS -jsdebugger"
|
||||
else
|
||||
PARAMS="$PARAMS -jsconsole"
|
||||
fi
|
||||
|
||||
if [ "`uname`" = "Darwin" ]; then
|
||||
|
@ -77,4 +79,4 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
"$APP_ROOT_DIR/staging/$command" $profile -ZoteroDebugText -jsconsole -purgecaches $PARAMS "$@"
|
||||
"$APP_ROOT_DIR/staging/$command" $profile -ZoteroDebugText -purgecaches $PARAMS "$@"
|
||||
|
|
Loading…
Reference in a new issue