Use -jsdebugger for build_and_run, and don't bind devtools on port 6100

Since -jsdebugger apparently works fine, there's no reason to connect to
Zotero from Firefox anymore. So just open the Browser Toolbox when
passing the -d flag to build_and_run, and stop having the devtools
server listen on port 6100 for devtools-enabled builds, since
-jsdebugger uses a random port of its own.
This commit is contained in:
Dan Stillman 2024-07-20 02:17:31 -04:00
parent 34eb8205d1
commit 934a74fba4
2 changed files with 1 additions and 2 deletions

View file

@ -324,7 +324,6 @@ if [ $DEVTOOLS -eq 1 ]; then
echo >> $prefs_file
echo "// Dev Tools" >> $prefs_file
echo 'pref("devtools.debugger.remote-enabled", true);' >> $prefs_file
echo 'pref("devtools.debugger.remote-port", 6100);' >> $prefs_file
if [ $UPDATE_CHANNEL != "beta" ]; then
echo 'pref("devtools.debugger.prompt-connection", false);' >> $prefs_file
fi

View file

@ -63,7 +63,7 @@ if [ $SKIP_BUNDLED_FILES -eq 1 ]; then
PARAMS="$PARAMS -ZoteroSkipBundledFiles"
fi
if [ $DEBUGGER -eq 1 ]; then
PARAMS="$PARAMS -debugger"
PARAMS="$PARAMS -jsdebugger"
fi
if [ "`uname`" = "Darwin" ]; then